aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/itip-formatter.c5
-rw-r--r--plugins/save-calendar/rdf-format.c2
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)
{