aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-09-07 15:51:47 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-09-07 15:51:47 +0800
commite0965ab239c03af7a2bec82b1d39bb5f085e6e23 (patch)
tree946eee9f7cb4090de265afd449d3dc8e9bf8fe62 /calendar/gui
parent9841d5bfd279d7f8540f2035fb0fa5b6eddb4138 (diff)
downloadgsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.gz
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/gui')
-rw-r--r--calendar/gui/cal-search-bar.c2
-rw-r--r--calendar/gui/e-meeting-store.c2
-rw-r--r--calendar/gui/e-tasks.c2
-rw-r--r--calendar/gui/itip-utils.c2
-rw-r--r--calendar/gui/print.c6
5 files changed, 7 insertions, 7 deletions
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;
};