summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 18:44:23 +0300
committermonsta <[email protected]>2016-11-21 18:44:23 +0300
commit762dd7e1eb33dc408c5fae091d0284ba71e4d0a0 (patch)
tree343708523cfc32e4b904dc92041ab0d332a11a29
parent084aa57d1c64b5961363c66446afc8a6ba993315 (diff)
downloadmate-panel-762dd7e1eb33dc408c5fae091d0284ba71e4d0a0.tar.bz2
mate-panel-762dd7e1eb33dc408c5fae091d0284ba71e4d0a0.tar.xz
panel-widget: panel_widget_unrealize is used only with GTK+ < 3.18
-rw-r--r--mate-panel/panel-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c
index d41ceefe..5bb4b6d3 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -1837,7 +1837,7 @@ panel_widget_realize (GtkWidget *widget)
panel_background_realized (&panel->background, window);
}
-#endif
+
static void
panel_widget_unrealize (GtkWidget *widget)
{
@@ -1852,6 +1852,7 @@ panel_widget_unrealize (GtkWidget *widget)
GTK_WIDGET_CLASS (panel_widget_parent_class)->unrealize (widget);
}
+#endif
static void
panel_widget_finalize (GObject *obj)