From 5ba2af8b104a2af56f1e8e8b3dc43cafa6e7a60d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 23 Apr 2004 18:04:38 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20an=20example.=20(#138966,=20Tim-Philipp?= =?UTF-8?q?=20M=C3=BCller)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2004-04-23 Matthias Clasen * gtk/migrating-GtkAction.sgml: Fix an example. (#138966, Tim-Philipp Müller) --- docs/reference/ChangeLog | 3 +++ docs/reference/gtk/migrating-GtkAction.sgml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 2b5326e1a1..b18fd51cc0 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,8 @@ 2004-04-23 Matthias Clasen + * 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 72919a11a2..006bf87d18 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, &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);