diff options
author | monsta <monsta@inbox.ru> | 2015-12-18 15:34:20 +0300 |
---|---|---|
committer | monsta <monsta@inbox.ru> | 2015-12-18 15:34:20 +0300 |
commit | 3f9ddf5a720706560f43523b289247a016b25d33 (patch) | |
tree | 8ea0a80ae7fc2aade38c0e1e5bbc0ec2e7ac17c5 | |
parent | 0c24156241e5c9f17ff3660f93e3ac99dc7dceb6 (diff) | |
download | mate-panel-3f9ddf5a720706560f43523b289247a016b25d33.tar.bz2 mate-panel-3f9ddf5a720706560f43523b289247a016b25d33.tar.xz |
toplevel: remove unused variable in GTK+3 build
-rw-r--r-- | mate-panel/panel-toplevel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index f1de8af0..164b3bd5 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -3351,7 +3351,6 @@ static gboolean panel_toplevel_expose(GtkWidget* widget, GdkEventExpose* event) PanelToplevel* toplevel = (PanelToplevel*) widget; PanelFrameEdge edges; gboolean retval = FALSE; - GdkWindow *window; #if GTK_CHECK_VERSION (3, 0, 0) int awidth; int aheight; @@ -3359,6 +3358,7 @@ static gboolean panel_toplevel_expose(GtkWidget* widget, GdkEventExpose* event) GtkStateFlags state; GtkBorder padding; #else + GdkWindow *window; GtkStyle *style; GtkStateType state; GtkAllocation allocation; @@ -3388,7 +3388,6 @@ static gboolean panel_toplevel_expose(GtkWidget* widget, GdkEventExpose* event) return retval; #if GTK_CHECK_VERSION (3, 0, 0) - window = gtk_widget_get_window (widget); state = gtk_widget_get_state_flags (widget); awidth = gtk_widget_get_allocated_width (widget); aheight = gtk_widget_get_allocated_height (widget); |