diff options
-rw-r--r-- | mate-panel/panel-profile.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index e0228403..e8707e45 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -368,9 +368,7 @@ panel_profile_set_background_image (PanelToplevel *toplevel, char * panel_profile_get_background_image (PanelToplevel *toplevel) { - char *retval; - retval = g_settings_get_string (toplevel->background_settings, "image"); - return retval; + return g_settings_get_string (toplevel->background_settings, "image"); } void @@ -386,9 +384,7 @@ panel_profile_set_toplevel_name (PanelToplevel *toplevel, char * panel_profile_get_toplevel_name (PanelToplevel *toplevel) { - char *retval; - retval = g_settings_get_string (toplevel->settings, "name"); - return retval; + return g_settings_get_string (toplevel->settings, "name"); } void |