From 64cdec0796d325d07ffc9ec4b56110b621b2947b Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Thu, 9 Nov 2017 21:25:34 -0500 Subject: panel-applet-frame-dbus.c: comment out never used code block found by cppcheck --- mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c index 9a3464ce..0dcf82bd 100644 --- a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c +++ b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c @@ -455,11 +455,13 @@ mate_panel_applet_frame_dbus_load (const gchar *iid, g_variant_builder_add (&builder, "{sv}", "locked-down", g_variant_new_boolean (mate_panel_applet_frame_activating_get_locked_down (frame_act))); + /*since background has just been set to NULL, this block never executes if (background) { g_variant_builder_add (&builder, "{sv}", "background", g_variant_new_string (background)); } + */ g_object_set_data (G_OBJECT (frame), "mate-panel-applet-frame-activating", frame_act); -- cgit v1.2.1