From e73116a9ea9bafa856a38601cfe90a1bf12e3628 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Fri, 19 Oct 2012 14:31:30 +0200 Subject: fix load background type at panel start close https://github.com/mate-desktop/mate-panel/issues/49 --- mate-panel/panel-profile.c | 4 ++-- 1 file 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; } -- cgit v1.2.1