[libbonoboui] add missing initializers to BonoboUIVerbs. Patch by Kevin Turner <acapnotic users sourceforge net>



commit 8bf121fdfb2bc1299108096121029b539411b1e0
Author: Michael Meeks <michael meeks novell com>
Date:   Tue Apr 20 10:58:38 2010 +0100

    add missing initializers to BonoboUIVerbs.
    Patch by Kevin Turner <acapnotic users sourceforge net>

 bonobo/bonobo-ui-component.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/bonobo/bonobo-ui-component.h b/bonobo/bonobo-ui-component.h
index 6c88faa..5fce31b 100644
--- a/bonobo/bonobo-ui-component.h
+++ b/bonobo/bonobo-ui-component.h
@@ -216,11 +216,11 @@ typedef struct {
 	gpointer       dummy;
 } BonoboUIVerb;
 
-#define BONOBO_UI_VERB(name,cb)                  { (name), (cb), NULL   }
-#define BONOBO_UI_VERB_DATA(name,cb,data)        { (name), (cb), (data) }
-#define BONOBO_UI_UNSAFE_VERB(name,cb)           { (name), ((BonoboUIVerbFn)(cb)), NULL   }
-#define BONOBO_UI_UNSAFE_VERB_DATA(name,cb,data) { (name), ((BonoboUIVerbFn)(cb)), (data) }
-#define BONOBO_UI_VERB_END                       { NULL, NULL, NULL }
+#define BONOBO_UI_VERB(name,cb)                  { (name), (cb), NULL, NULL   }
+#define BONOBO_UI_VERB_DATA(name,cb,data)        { (name), (cb), (data), NULL }
+#define BONOBO_UI_UNSAFE_VERB(name,cb)           { (name), ((BonoboUIVerbFn)(cb)), NULL, NULL   }
+#define BONOBO_UI_UNSAFE_VERB_DATA(name,cb,data) { (name), ((BonoboUIVerbFn)(cb)), (data), NULL }
+#define BONOBO_UI_VERB_END                       { NULL, NULL, NULL, NULL }
 
 void    bonobo_ui_component_add_verb_list           (BonoboUIComponent  *component,
 						     const BonoboUIVerb *list);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]