diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
commit | e0965ab239c03af7a2bec82b1d39bb5f085e6e23 (patch) | |
tree | 946eee9f7cb4090de265afd449d3dc8e9bf8fe62 /calendar | |
parent | 9841d5bfd279d7f8540f2035fb0fa5b6eddb4138 (diff) | |
download | gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.gz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.bz2 gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.lz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.xz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.zst gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.zip |
2007-09-07 mcrha Fix for bug #473903
svn path=/trunk/; revision=34192
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 11 | ||||
-rw-r--r-- | calendar/gui/cal-search-bar.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-meeting-store.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-tasks.c | 2 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 2 | ||||
-rw-r--r-- | calendar/gui/print.c | 6 |
6 files changed, 18 insertions, 7 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e8390419ee..01b0093801 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,14 @@ +2007-09-07 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #473903 + + * gui/e-meeting-store.c: (freebusy_async): + * gui/cal-search-bar.c: (get_current_category ): + * gui/itip-utils.c: (comp_limit_attendees): + * gui/e-tasks.c: (e_tasks_open_task_id): + * gui/print.c: (struct PrintCompItem), (struct PrintCalItem): + Fixes serious compiler warnings. + 2007-01-08 Wang Xin <jedy.wang@sun.com> Fixes #470968 diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c index 4d0f50201c..dbb046aea2 100644 --- a/calendar/gui/cal-search-bar.c +++ b/calendar/gui/cal-search-bar.c @@ -253,7 +253,7 @@ static const char * get_current_category (CalSearchBar *cal_search) { CalSearchBarPrivate *priv; - gint viewid, i; + gint viewid, i = -1; priv = cal_search->priv; diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c index 90c29b7159..1c3b645afe 100644 --- a/calendar/gui/e-meeting-store.c +++ b/calendar/gui/e-meeting-store.c @@ -1151,7 +1151,7 @@ freebusy_async (gpointer data) FreeBusyAsyncData *fbd = data; EMeetingAttendee *attendee = fbd->attendee; gchar *default_fb_uri = NULL; - const char *fburi = NULL; + char *fburi = NULL; static GStaticMutex mutex = G_STATIC_MUTEX_INIT; EMeetingStorePrivate *priv = fbd->store->priv; GnomeVFSAsyncHandle *handle; diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 235f8cb9d9..2c44e58927 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -1457,7 +1457,7 @@ e_tasks_open_task_id (ETasks *tasks, return; attendee_prop = icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY); - e_calendar_table_open_task (E_CALENDAR_TABLE (tasks->priv->tasks_view), client, icalcomp, (gboolean)attendee_prop); + e_calendar_table_open_task (E_CALENDAR_TABLE (tasks->priv->tasks_view), client, icalcomp, attendee_prop != NULL); icalcomponent_free (icalcomp); return; diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 9a668a5bf9..2cfd5244c3 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -890,7 +890,7 @@ comp_limit_attendees (ECalComponent *comp) char *attendee_text; icalparameter *param; const char *attendee_sentby; - char *attendee_sentby_text; + char *attendee_sentby_text = NULL; /* If we've already found something, just erase the rest */ if (found) { diff --git a/calendar/gui/print.c b/calendar/gui/print.c index ccdc894f7f..e1f07de8aa 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -60,12 +60,12 @@ typedef struct PrintCompItem PrintCompItem; typedef struct PrintCalItem PrintCalItem; struct PrintCompItem { - struct ECal *client; - struct ECalComponent *comp; + ECal *client; + ECalComponent *comp; }; struct PrintCalItem { - struct GnomeCalendar *gcal; + GnomeCalendar *gcal; time_t start; }; |