mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
Replaced deprecated call to gtk_action_connect_proxy with call to gtk_activatable_set_related_action
Fixes bug 581876.
This commit is contained in:
parent
ae94c371d1
commit
ac9ea01ec9
@ -641,14 +641,15 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
button = gtk_button_new ();
|
button = gtk_button_new ();
|
||||||
gtk_box_pack_end (GTK_BOX (menu_box), button, FALSE, FALSE, 0);
|
gtk_box_pack_end (GTK_BOX (menu_box), button, FALSE, FALSE, 0);
|
||||||
gtk_action_connect_proxy (gtk_action_group_get_action (action_group, "AboutAction"),
|
gtk_activatable_set_related_action (GTK_ACTIVATABLE (button),
|
||||||
button);
|
gtk_action_group_get_action (action_group, "AboutAction"));
|
||||||
|
|
||||||
gtk_widget_show (button);
|
gtk_widget_show (button);
|
||||||
|
|
||||||
button = gtk_check_button_new ();
|
button = gtk_check_button_new ();
|
||||||
gtk_box_pack_end (GTK_BOX (menu_box), button, FALSE, FALSE, 0);
|
gtk_box_pack_end (GTK_BOX (menu_box), button, FALSE, FALSE, 0);
|
||||||
gtk_action_connect_proxy (gtk_action_group_get_action (action_group, "BoldAction"),
|
gtk_activatable_set_related_action (GTK_ACTIVATABLE (button),
|
||||||
button);
|
gtk_action_group_get_action (action_group, "BoldAction"));
|
||||||
gtk_widget_show (button);
|
gtk_widget_show (button);
|
||||||
|
|
||||||
merge = gtk_ui_manager_new ();
|
merge = gtk_ui_manager_new ();
|
||||||
|
Loading…
Reference in New Issue
Block a user