summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-19 14:31:30 +0200
committerStefano Karapetsas <[email protected]>2012-10-19 14:31:30 +0200
commite73116a9ea9bafa856a38601cfe90a1bf12e3628 (patch)
treef251b61095de3c0bda197a248b28514e585a2b53
parent2c90f2b9d59544411a1f95f5f623ea6e75184c57 (diff)
downloadmate-panel-e73116a9ea9bafa856a38601cfe90a1bf12e3628.tar.bz2
mate-panel-e73116a9ea9bafa856a38601cfe90a1bf12e3628.tar.xz
fix load background type at panel start
close https://github.com/mate-desktop/mate-panel/issues/49
-rw-r--r--mate-panel/panel-profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c
index 60d47465..e7c0f002 100644
--- a/mate-panel/panel-profile.c
+++ b/mate-panel/panel-profile.c
@@ -222,8 +222,8 @@ panel_profile_set_background_type (PanelToplevel *toplevel,
PanelBackgroundType
panel_profile_get_background_type (PanelToplevel *toplevel)
{
- PanelBackgroundType background_type = PANEL_BACK_NONE;
- g_settings_get_enum (toplevel->background_settings,
+ PanelBackgroundType background_type;
+ background_type = g_settings_get_enum (toplevel->background_settings,
"type");
return background_type;
}