From 720bdb8daf6727700eb6df80bc057a93d45b277a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Aug 2003 00:13:59 +0000 Subject: Use gssize for length, not gsize. 2003-08-26 Matthias Clasen * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize for length, not gsize. * gtk/gtkuimanager.c: Refactor the XML format a bit: rename to and make it optional in strings. Rename verb to action, to , to , to . * demos/gtk-demo/appwindow.c: * tests/testactions.c: * tests/testmerge.c: * tests/merge-1.ui: * tests/merge-2.ui: * tests/merge-3.ui: Adjust to the new XML format. --- tests/testactions.c | 80 ++++++++++++++++++++++++++--------------------------- 1 file changed, 39 insertions(+), 41 deletions(-) (limited to 'tests/testactions.c') diff --git a/tests/testactions.c b/tests/testactions.c index 131d0ccd20..9a3ae08200 100644 --- a/tests/testactions.c +++ b/tests/testactions.c @@ -141,58 +141,56 @@ static guint n_entries = G_N_ELEMENTS (entries); /* XML description of the menus for the test app. The parser understands * a subset of the Bonobo UI XML format, and uses GMarkup for parsing */ static const gchar *ui_info = -"\n" -" \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" \n" -" \n" +" \n" +" \n" " \n" -" \n" +" \n" " \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" \n" +" \n" " \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" \n" +" \n" " \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" \n" +" \n" " \n" -" \n" -" \n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" \n" -" \n" -"\n"; +" \n" +" \n"; static void add_widget (GtkUIManager *merge, -- cgit v1.2.1