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
This commit is contained in:
		| @ -2130,8 +2130,8 @@ gtk_menu_bar_get_type | ||||
| <TITLE>GtkMenuButton</TITLE> | ||||
| GtkMenuButton | ||||
| gtk_menu_button_new | ||||
| gtk_menu_button_set_menu | ||||
| gtk_menu_button_get_menu | ||||
| gtk_menu_button_set_popup | ||||
| gtk_menu_button_get_popup | ||||
| gtk_menu_button_set_menu_model | ||||
| gtk_menu_button_get_menu_model | ||||
| gtk_menu_button_set_direction | ||||
|  | ||||
| @ -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); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Ryan Lortie
					Ryan Lortie