summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-04-23 18:04:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-04-23 18:04:38 +0000
commit5ba2af8b104a2af56f1e8e8b3dc43cafa6e7a60d (patch)
treec7199614281a7c3c8a3ff022e148ad142cd51b7c /docs
parentf6fbb36d3b6fbf2e32201e3ae6fb22e6645d18c7 (diff)
downloadgdk-pixbuf-5ba2af8b104a2af56f1e8e8b3dc43cafa6e7a60d.tar.gz
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)
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog3
-rw-r--r--docs/reference/gtk/migrating-GtkAction.sgml2
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 2b5326e1a..b18fd51cc 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -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.
diff --git a/docs/reference/gtk/migrating-GtkAction.sgml b/docs/reference/gtk/migrating-GtkAction.sgml
index 72919a11a..006bf87d1 100644
--- a/docs/reference/gtk/migrating-GtkAction.sgml
+++ b/docs/reference/gtk/migrating-GtkAction.sgml
@@ -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);