diff options
author | Stefano Karapetsas <[email protected]> | 2012-10-11 17:57:18 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-10-11 17:57:18 +0200 |
commit | 2f38f0be5c92d7239ccc5f1690174a6440c4dca5 (patch) | |
tree | 028e33a03474753aaf434d0e0ccd0f232f6c8ea9 | |
parent | 0ffeaf53e92e366947ebb5424a5b15c1a8f39a5f (diff) | |
download | mate-panel-2f38f0be5c92d7239ccc5f1690174a6440c4dca5.tar.bz2 mate-panel-2f38f0be5c92d7239ccc5f1690174a6440c4dca5.tar.xz |
fix some warnings
-rw-r--r-- | mate-panel/panel-profile.c | 2 | ||||
-rw-r--r-- | 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; |