summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2017-12-27 01:26:16 +0100
committerlukefromdc <[email protected]>2017-12-27 00:06:09 -0500
commit4a4552148355790a35d5e9dd148778bd588d11fd (patch)
tree5ba16cf85db1e35108e2a4a46a996dd8beb9a881
parent411d3079fd50b3bca9967364b645e9cd4e0d1451 (diff)
downloadmate-panel-4a4552148355790a35d5e9dd148778bd588d11fd.tar.bz2
mate-panel-4a4552148355790a35d5e9dd148778bd588d11fd.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)
{