aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-11-04 21:27:22 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-11-04 21:27:22 +0800
commit4e7597a4a2732baeeda9dd4876a873ec6588d6f7 (patch)
tree7e800cb70a1a3d6bf306d1a9dee0acf548c629d2 /calendar/gui
parent94cfee90c479a49b354ff8d9d8546921bf9a4d3e (diff)
downloadgsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.tar
gsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.tar.gz
gsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.tar.bz2
gsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.tar.lz
gsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.tar.xz
gsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.tar.zst
gsoc2013-evolution-4e7597a4a2732baeeda9dd4876a873ec6588d6f7.zip
Fix compiler warnings.
2008-11-04 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.h: * calendar/gui/gnome-cal.c: * e-util/e-non-intrusive-error-dialog.c: * e-util/e-non-intrusive-error-dialog.h: Fix compiler warnings. svn path=/trunk/; revision=36738
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-commands.c1
-rw-r--r--calendar/gui/calendar-component.h2
-rw-r--r--calendar/gui/gnome-cal.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index 1d55920779..074b902063 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -47,6 +47,7 @@
#include <libecal/e-cal-time-util.h>
#include "shell/Evolution.h"
#include "calendar-commands.h"
+#include "calendar-component.h"
#include "calendar-config.h"
#include "e-day-view.h"
#include "e-week-view.h"
diff --git a/calendar/gui/calendar-component.h b/calendar/gui/calendar-component.h
index 1688618197..ec3183726d 100644
--- a/calendar/gui/calendar-component.h
+++ b/calendar/gui/calendar-component.h
@@ -26,6 +26,7 @@
#include <bonobo/bonobo-object.h>
#include <libedataserver/e-source-list.h>
+#include <widgets/misc/e-activity-handler.h>
#include "Evolution.h"
@@ -60,6 +61,7 @@ CalendarComponent *calendar_component_peek (void);
const char *calendar_component_peek_base_directory (CalendarComponent *component);
const char *calendar_component_peek_config_directory (CalendarComponent *component);
ESourceList *calendar_component_peek_source_list (CalendarComponent *component);
+EActivityHandler *calendar_component_peek_activity_handler (CalendarComponent *component);
void calendar_component_show_logger (gpointer);
#endif /* _CALENDAR_COMPONENT_H_ */
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index ef9e3b7f25..1e08f727c5 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -3075,8 +3075,8 @@ backend_died_cb (ECal *ecal, gpointer data)
w = e_error_new(GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (gcal))), "calendar:backend_died", NULL);
e_calendar_utils_show_error_silent (w);
- g_hash_table_insert (non_intrusive_error_table, id, g_object_ref(w));
- g_signal_connect((GtkObject *)w, "destroy", G_CALLBACK(non_intrusive_error_remove),id);
+ g_hash_table_insert (non_intrusive_error_table, (gpointer) id, g_object_ref(w));
+ g_signal_connect((GtkObject *)w, "destroy", G_CALLBACK(non_intrusive_error_remove), (gpointer) id);
}
GtkWidget *