diff options
author | Havoc Pennington <hp@pobox.com> | 2010-09-05 22:19:31 -0400 |
---|---|---|
committer | Havoc Pennington <hp@pobox.com> | 2010-09-12 21:47:10 -0400 |
commit | c29f0a13924daf7df1d6787ecba840e8a79e8b6f (patch) | |
tree | 6190157f363fc12a862bdb75a279afeb3d2c77e8 /gtk/gtkmenu.c | |
parent | 8960d64cc687cb4c98381ff5bd7a6d04be9dde1d (diff) | |
download | gtk+-c29f0a13924daf7df1d6787ecba840e8a79e8b6f.tar.gz |
Fix more SizeRequest implementations to avoid recursive calls to wrapper API
GtkFrame, GtkComboBox, GtkExpander, GtkMenu, GtkWrapBox
These are all the examples I could find so far.
https://bugzilla.gnome.org/show_bug.cgi?id=628829
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r-- | gtk/gtkmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 0a4575cb8a..acc00d09e9 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -3150,8 +3150,8 @@ gtk_menu_get_height (GtkSizeRequest *widget, gint min_width; /* Menus are height-for-width only, just return the height for the minimum width */ - gtk_size_request_get_width (widget, &min_width, NULL); - gtk_size_request_get_height_for_width (widget, min_width, minimum_size, natural_size); + GTK_SIZE_REQUEST_GET_IFACE (widget)->get_width (widget, &min_width, NULL); + GTK_SIZE_REQUEST_GET_IFACE (widget)->get_height_for_width (widget, min_width, minimum_size, natural_size); } static void |