diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-08-20 17:03:15 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-08-20 17:04:14 -0400 |
commit | 0244dc8017a2b3dbd53c051ea7206646ef1437a6 (patch) | |
tree | 0e61952e8c206421ce4252464fa2d8b14ddee3ae /docs/tools | |
parent | fb6d4c2f3dc018ba9af4457f9eb73d743d2e9ccd (diff) | |
download | gtk+-0244dc8017a2b3dbd53c051ea7206646ef1437a6.tar.gz |
GtkMenuButton: rename _set_menu() to _set_popup()
It's too close to the release so we'll keep _set_menu() around, but
deprecate it, pointing to the new API. It will be removed (and the name
reused) before the 3.6.0 release.
https://bugzilla.gnome.org/show_bug.cgi?id=682235
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 87e539eaeb..03c19eaa69 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -237,7 +237,7 @@ create_menu_button (void) gtk_image_set_from_icon_name (GTK_IMAGE (image), "emblem-system-symbolic", GTK_ICON_SIZE_MENU); gtk_button_set_image (GTK_BUTTON (widget), image); menu = gtk_menu_new (); - gtk_menu_button_set_menu (GTK_MENU_BUTTON (widget), menu); + gtk_menu_button_set_popup (GTK_MENU_BUTTON (widget), menu); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3); gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0); |