Fix an example. (#138966, Tim-Philipp Müller)

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/migrating-GtkAction.sgml: Fix an example.
	(#138966, Tim-Philipp Müller)
This commit is contained in:
Matthias Clasen 2004-04-23 18:04:38 +00:00 committed by Matthias Clasen
parent f6fbb36d3b
commit 5ba2af8b10
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* gtk/migrating-GtkAction.sgml: Fix an example.
(#138966, Tim-Philipp Müller)
* gdk/tmpl/properties.sgml: Document the only_if_exists argument
to gdk_atom_intern() as ignored.

View File

@ -382,7 +382,7 @@ if (!gtk_ui_manager_add_ui_from_string (ui_manager, ui_description, -1, &amp;err
exit (EXIT_FAILURE);
}
menubar = gtk_ui_manager_get_widget ("/MainMenu");
menubar = gtk_ui_manager_get_widget (ui_manager, "/MainMenu");
gtk_box_pack_start (GTK_BOX (vbox), menubar, FALSE, FALSE, 0);
gtk_widget_show_all (window);