[anjuta/symbol-db-model] symbol-db: Added symbol-db marshallers
- From: Naba Kumar <naba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/symbol-db-model] symbol-db: Added symbol-db marshallers
- Date: Sat, 13 Mar 2010 16:24:07 +0000 (UTC)
commit e3f607f058d63c0b7f2fd11a8ccf69da72a835ed
Author: Naba Kumar <naba gnome org>
Date: Sat Mar 13 14:26:39 2010 +0200
symbol-db: Added symbol-db marshallers
plugins/symbol-db/Makefile.am | 15 +++++++++++++++
plugins/symbol-db/symbol-db-marshal.list | 3 +++
plugins/symbol-db/symbol-db-model.c | 8 ++++----
3 files changed, 22 insertions(+), 4 deletions(-)
---
diff --git a/plugins/symbol-db/Makefile.am b/plugins/symbol-db/Makefile.am
index 8de5220..0cec23f 100644
--- a/plugins/symbol-db/Makefile.am
+++ b/plugins/symbol-db/Makefile.am
@@ -96,6 +96,21 @@ libanjuta_symbol_db_la_LIBADD = \
$(LIBANJUTA_LIBS) \
$(PLUGIN_SYMBOL_DB_LIBS)
+BUILT_SOURCES=symbol-db-marshal.c symbol-db-marshal.h
+
+symbol-db-marshal.h: symbol-db-marshal.list
+ $(AM_V_GEN)@GLIB_GENMARSHAL@ \
+ --prefix=symbol_db_cclosure_marshal $(srcdir)/symbol-db-marshal.list --header > xgen-gmc \
+ && cp xgen-gmc $(@F) \
+ && rm -f xgen-gmc
+
+symbol-db-marshal.c: symbol-db-marshal.h symbol-db-marshal.list
+ $(AM_V_GEN)echo "#include \"symbol-db-marshal.h\"" > xgenc-gmc \
+ && @GLIB_GENMARSHAL@ \
+ --prefix=symbol_db_cclosure_marshal $(srcdir)/symbol-db-marshal.list --body >> xgenc-gmc \
+ && cp xgenc-gmc $(@F) \
+ && rm -f xgenc-gmc
+
prefs_ui_files = anjuta-symbol-db.ui
include $(top_srcdir)/scripts/build-schemas.mk
diff --git a/plugins/symbol-db/symbol-db-marshal.list b/plugins/symbol-db/symbol-db-marshal.list
new file mode 100644
index 0000000..a89bc76
--- /dev/null
+++ b/plugins/symbol-db/symbol-db-marshal.list
@@ -0,0 +1,3 @@
+OBJECT:INT,POINTER,INT,INT
+BOOLEAN:INT,POINTER
+INT:INT,POINTER
diff --git a/plugins/symbol-db/symbol-db-model.c b/plugins/symbol-db/symbol-db-model.c
index f5fb6b9..fda5805 100644
--- a/plugins/symbol-db/symbol-db-model.c
+++ b/plugins/symbol-db/symbol-db-model.c
@@ -19,7 +19,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libgda/libgda.h>
-#include <libanjuta/anjuta-marshal.h>
+#include "symbol-db-marshal.h"
#include "symbol-db-model.h"
#define SYMBOL_DB_MODEL_STAMP 5364558
@@ -978,7 +978,7 @@ symbol_db_model_class_init (SymbolDBModelClass *klass)
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- anjuta_cclosure_marshal_BOOLEAN__INT_POINTER,
+ symbol_db_cclosure_marshal_BOOLEAN__INT_POINTER,
G_TYPE_BOOLEAN,
2,
G_TYPE_INT,
@@ -988,7 +988,7 @@ symbol_db_model_class_init (SymbolDBModelClass *klass)
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- anjuta_cclosure_marshal_INT__INT_POINTER,
+ symbol_db_cclosure_marshal_INT__INT_POINTER,
G_TYPE_INT,
2,
G_TYPE_INT,
@@ -998,7 +998,7 @@ symbol_db_model_class_init (SymbolDBModelClass *klass)
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- anjuta_cclosure_marshal_OBJECT__INT_POINTER_INT_INT,
+ symbol_db_cclosure_marshal_OBJECT__INT_POINTER_INT_INT,
GDA_TYPE_DATA_MODEL,
4,
G_TYPE_INT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]