[gnome-panel] panel: use correct function to set custom-bg-image



commit 7a98b58e1332a17310c832e73461086c4384171f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat May 1 01:52:00 2021 +0300

    panel: use correct function to set custom-bg-image
    
    It is boolean setting not enum.

 gnome-panel/panel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-panel/panel.c b/gnome-panel/panel.c
index f034fb1f8..cf2170d3f 100644
--- a/gnome-panel/panel.c
+++ b/gnome-panel/panel.c
@@ -294,7 +294,7 @@ set_background_image_from_uri (PanelToplevel *toplevel,
                return FALSE;
        }
 
-       g_settings_set_enum (settings, "custom-bg-image", TRUE);
+       g_settings_set_boolean (settings, "custom-bg-image", TRUE);
        g_settings_set_string (settings, "bg-image", uri);
 
        g_object_unref (settings);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]