~ubuntu-branches/ubuntu/utopic/almanah/utopic

« back to all changes in this revision

Viewing changes to src/event-manager.c

  • Committer: Package Import Robot
  • Author(s): Angel Abad
  • Date: 2012-10-29 10:14:18 UTC
  • mfrom: (1.4.1) (10.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20121029101418-k2c27xb0aku22zeg
Tags: 0.10.0-1~exp1
* Imported Upstream version 0.10.0
* debian/control:
  - Bump evolution Build-Depends ( >=3.6.0)
  - debian/control: Depends on evolution-common (>= 3.6.0)
* Bump Standards-Version to 3.9.4 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#ifdef HAVE_EVO
34
34
#include "calendar.h"
35
35
#endif /* HAVE_EVO */
36
 
#include "main.h"
37
36
 
38
37
const EventFactoryType event_factory_types[] = {
39
38
#ifdef HAVE_EVO
127
126
        AlmanahEventManagerPrivate *priv = ALMANAH_EVENT_MANAGER_GET_PRIVATE (self);
128
127
        guint i;
129
128
 
130
 
        if (almanah->debug == TRUE)
131
 
                g_debug ("almanah_event_manager_query_events called for factory %u and date %u-%u-%u.", type_id, g_date_get_year (date), g_date_get_month (date), g_date_get_day (date));
 
129
        g_debug ("almanah_event_manager_query_events called for factory %u and date %u-%u-%u.", type_id,
 
130
                 g_date_get_year (date), g_date_get_month (date), g_date_get_day (date));
132
131
 
133
132
        if (type_id != ALMANAH_EVENT_FACTORY_UNKNOWN) {
134
133
                /* Just query that factory */
152
151
        GSList *list = NULL, *end = NULL;
153
152
        guint i;
154
153
 
155
 
        if (almanah->debug == TRUE)
156
 
                g_debug ("almanah_event_manager_get_events called for factory %u and date %u-%u-%u.", type_id, g_date_get_year (date), g_date_get_month (date), g_date_get_day (date));
 
154
        g_debug ("almanah_event_manager_get_events called for factory %u and date %u-%u-%u.", type_id,
 
155
                 g_date_get_year (date), g_date_get_month (date), g_date_get_day (date));
157
156
 
158
157
        if (type_id != ALMANAH_EVENT_FACTORY_UNKNOWN) {
159
158
                /* Just return the events for the specified event factory */