From 2f38f0be5c92d7239ccc5f1690174a6440c4dca5 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 11 Oct 2012 17:57:18 +0200 Subject: fix some warnings --- mate-panel/panel-profile.c | 2 +- mate-panel/panel-test-applets.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index 300ce64c..3f9a594f 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -222,7 +222,7 @@ panel_profile_set_background_type (PanelToplevel *toplevel, PanelBackgroundType panel_profile_get_background_type (PanelToplevel *toplevel) { - PanelBackgroundType background_type; + PanelBackgroundType background_type = PANEL_BACK_NONE; g_settings_get_enum (toplevel->background_settings, "type"); return background_type; diff --git a/mate-panel/panel-test-applets.c b/mate-panel/panel-test-applets.c index 96d0554d..e1fface2 100644 --- a/mate-panel/panel-test-applets.c +++ b/mate-panel/panel-test-applets.c @@ -267,7 +267,7 @@ setup_options (void) int j; char *prefs_path = NULL; char *unique_key = NULL; - gboolean *unique_key_found = FALSE; + gboolean unique_key_found = FALSE; gchar **dconf_paths; GtkListStore *model; GtkTreeIter iter; -- cgit v1.2.1