diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-18 22:58:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 03:34:11 +0800 |
commit | c75f58d01bb7bbe139cd73a85894dc5f50185816 (patch) | |
tree | a7ed07daa233b004c1ee8a6a39839a8a2d39b597 /plugins | |
parent | 03c039c098314b94767a2ec81b73c40fb4cbc168 (diff) | |
download | gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.gz gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.bz2 gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.lz gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.xz gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.tar.zst gsoc2013-evolution-c75f58d01bb7bbe139cd73a85894dc5f50185816.zip |
Fix compiler warnings.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 5 | ||||
-rw-r--r-- | plugins/save-calendar/rdf-format.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index c6852b7baf..ba649ea5e3 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2950,10 +2950,11 @@ delete_toggled_cb (GtkWidget *widget, gpointer data) { GSettings *settings; - EMConfigTargetPrefs *target = data; + gboolean active; settings = g_settings_new ("org.gnome.evolution.eplugin.itip"); - g_settings_set_boolean (settings, CONF_KEY_DELETE, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))); + active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)); + g_settings_set_boolean (settings, CONF_KEY_DELETE, active); g_object_unref (settings); } diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index ed9cf18bb6..fe2e6d0a1a 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -54,8 +54,6 @@ static void add_string_to_rdf (xmlNodePtr node, #define CALENDAR_CONFIG_PREFIX "/apps/evolution/calendar" #define CALENDAR_CONFIG_TIMEZONE CALENDAR_CONFIG_PREFIX "/display/timezone" -static GConfClient *config = NULL; - static gchar * calendar_config_get_timezone (void) { |