aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2011-10-10 23:40:06 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-10-10 23:40:06 +0800
commit90ffcfd8ce2aeb5159d5c6f8a44601b89ea0ba05 (patch)
tree536d9c55bf93cb05fce24781b06362fe68cb63d8 /calendar/gui/calendar-config.h
parent2f62d91630f58325820712e9c21439b7fae055ce (diff)
downloadgsoc2013-evolution-90ffcfd8ce2aeb5159d5c6f8a44601b89ea0ba05.tar.gz
gsoc2013-evolution-90ffcfd8ce2aeb5159d5c6f8a44601b89ea0ba05.tar.zst
gsoc2013-evolution-90ffcfd8ce2aeb5159d5c6f8a44601b89ea0ba05.zip
Last bits of calendar-config migrated to GSettings
Diffstat (limited to 'calendar/gui/calendar-config.h')
-rw-r--r--calendar/gui/calendar-config.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h
index 0be1e203c9..483fbbd667 100644
--- a/calendar/gui/calendar-config.h
+++ b/calendar/gui/calendar-config.h
@@ -28,9 +28,9 @@
#ifndef _CALENDAR_CONFIG_H_
#define _CALENDAR_CONFIG_H_
+#include <gio/gio.h>
#include <gdk/gdk.h>
#include <libecal/e-cal-client.h>
-#include <gconf/gconf-client.h>
#include <e-util/e-util-enums.h>
/* These are used to get/set the working days in the week. The bit-flags are
@@ -47,7 +47,11 @@ typedef enum
CAL_SATURDAY = 1 << 6
} CalWeekdays;
-void calendar_config_remove_notification (guint id);
+typedef void (* CalendarConfigChangedFunc) (GSettings *settings,
+ const gchar *key,
+ gpointer user_data);
+
+void calendar_config_remove_notification (CalendarConfigChangedFunc func, gpointer data);
/*
* Calendar Settings.
@@ -79,10 +83,11 @@ void calendar_config_free_day_second_zones (GSList *zones);
void calendar_config_set_day_second_zone (const gchar *location);
gchar * calendar_config_get_day_second_zone (void);
void calendar_config_select_day_second_zone (void);
-guint calendar_config_add_notification_day_second_zone (GConfClientNotifyFunc func, gpointer data);
+
+void calendar_config_add_notification_day_second_zone (CalendarConfigChangedFunc func, gpointer data);
/* Scroll in a month view by a week, not by a month */
gboolean calendar_config_get_month_scroll_by_week (void);
-guint calendar_config_add_notification_month_scroll_by_week (GConfClientNotifyFunc func, gpointer data);
+void calendar_config_add_notification_month_scroll_by_week (CalendarConfigChangedFunc func, gpointer data);
#endif /* _CALENDAR_CONFIG_H_ */