summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-11-09 21:25:34 -0500
committerlukefromdc <[email protected]>2017-11-09 21:25:34 -0500
commit64cdec0796d325d07ffc9ec4b56110b621b2947b (patch)
treed61ecb2ee2c0454508a91be70ab7e2269c2e8a2b
parent3c93a80aa292f41dca3e358a5ecebb0331ee96f9 (diff)
downloadmate-panel-64cdec0796d325d07ffc9ec4b56110b621b2947b.tar.bz2
mate-panel-64cdec0796d325d07ffc9ec4b56110b621b2947b.tar.xz
panel-applet-frame-dbus.c: comment out never used code block
found by cppcheck
-rw-r--r--mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c2
1 files changed, 2 insertions, 0 deletions
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);