summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 18:39:55 +0200
committerinfirit <[email protected]>2014-05-16 18:39:55 +0200
commitcbb6be2e75d31babef9a2d13d9f356cb2a891686 (patch)
treec79c212bd575dbe6998ad3094065a53c3d045fb2
parente45b1b7953ca9e636c5e7c4cd1797fe4710861d3 (diff)
downloadmate-panel-cbb6be2e75d31babef9a2d13d9f356cb2a891686.tar.bz2
mate-panel-cbb6be2e75d31babef9a2d13d9f356cb2a891686.tar.xz
Use gtk_widget_set_size_request which is also available in gtk+2
-rw-r--r--mate-panel/menu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mate-panel/menu.c b/mate-panel/menu.c
index 55ec955c..e709ec29 100644
--- a/mate-panel/menu.c
+++ b/mate-panel/menu.c
@@ -1152,11 +1152,7 @@ image_menuitem_size_request (GtkWidget *menuitem,
req_height += (gtk_container_get_border_width (GTK_CONTAINER (menuitem)) +
(gtk_widget_get_style (menuitem))->ythickness) * 2;
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_size_request (menuitem, -1, req_height);
-#else
- requisition->height = MAX (requisition->height, req_height);
-#endif
}
static char *