summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-12-27 01:26:16 +0100
committermonsta <[email protected]>2018-01-06 14:43:31 +0300
commit27ab17a772130cea439420e8a338ff58789e0d2d (patch)
tree67ec6b2843244566e2c735f3feced079f7a6dc59
parent97075b5649b5af3b372bd6a828b8487fdb804b53 (diff)
downloadmate-panel-27ab17a772130cea439420e8a338ff58789e0d2d.tar.bz2
mate-panel-27ab17a772130cea439420e8a338ff58789e0d2d.tar.xz
Fix build warning: ‘toplevel_configure_event’ defined but not used
-rw-r--r--mate-panel/panel-widget.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c
index 8ba97fc1..cedcbb21 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -1669,20 +1669,16 @@ panel_widget_style_updated (GtkWidget *widget)
GTK_WIDGET_CLASS (panel_widget_parent_class)->style_updated (widget);
panel_widget_set_background_default_style (widget);
}
-#endif
static gboolean
toplevel_configure_event (GtkWidget *widget,
GdkEventConfigure *event,
PanelWidget *panel)
{
-#if !GTK_CHECK_VERSION(3, 18, 0)
panel_widget_set_background_region (panel);
-#endif
return FALSE;
}
-#if !GTK_CHECK_VERSION(3, 18, 0)
static void
panel_widget_realize (GtkWidget *widget)
{