diff options
-rw-r--r-- | mate-panel/panel-profile.c | 4 |
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; } |