[monkey-bubble: 543/753] fixup add_verb_list_with_data so we pass the right data member.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 543/753] fixup add_verb_list_with_data so we pass the right data member.
- Date: Wed, 14 Jul 2010 22:41:17 +0000 (UTC)
commit 8695bd09806b2e34fd97eff42b5f02dd94892ac0
Author: Michael Meeks <michael ximian com>
Date: Wed Jul 18 23:00:06 2001 +0000
fixup add_verb_list_with_data so we pass the right data member.
2001-07-19 Michael Meeks <michael ximian com>
* testgnome.c (create_newwin): fixup add_verb_list_with_data so
we pass the right data member.
Add Martin as author.
test-gnome/ChangeLog | 5 +++++
test-gnome/testgnome.c | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/test-gnome/ChangeLog b/test-gnome/ChangeLog
index b0586cf..a26963c 100644
--- a/test-gnome/ChangeLog
+++ b/test-gnome/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-19 Michael Meeks <michael ximian com>
+
+ * testgnome.c (create_newwin): fixup add_verb_list_with_data so
+ we pass the right data member.
+
2001-07-19 Martin Baulig <baulig suse de>
* testgnome.xml: Use the new Bonobo stock stuff.
diff --git a/test-gnome/testgnome.c b/test-gnome/testgnome.c
index 2f81b4f..e59ac5e 100644
--- a/test-gnome/testgnome.c
+++ b/test-gnome/testgnome.c
@@ -43,6 +43,7 @@ static const gchar *authors[] = {
"Miguel de Icaza",
"Jonathan Blandford",
"Carlos Perelló Marín",
+ "Martin Baulig",
NULL
};
@@ -78,7 +79,8 @@ verb_FileClose_cb (BonoboUIComponent *uic, gpointer user_data, const char *cname
}
static void
-verb_FileExit_cb (BonoboUIComponent *uic, gpointer user_data, const char *cname){
+verb_FileExit_cb (BonoboUIComponent *uic, gpointer user_data, const char *cname)
+{
TestGnomeApp *app = user_data;
test_exit (app);
@@ -131,8 +133,7 @@ create_newwin(gboolean normal, gchar *appname, gchar *title)
bonobo_ui_component_set_container (app->ui_component,
BONOBO_OBJREF(app->ui_container));
bonobo_ui_util_set_ui (app->ui_component, GNOMEUIDATADIR, "testgnome.xml", appname);
- bonobo_ui_component_add_verb_list_with_data (app->ui_component, verbs,
- app->app);
+ bonobo_ui_component_add_verb_list_with_data (app->ui_component, verbs, app);
return app;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]