aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.h-29002
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-18 02:51:45 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-18 02:51:45 +0800
commitfa93d70ade2f492bb46690e0bb86a30c432bb043 (patch)
tree1a27d07ac622d3d8a90bb7215bb60d6b34df1055 /e-util/e-util.h-29002
parentc9419cb6a59539d8293105d79d00d7e43bc3739c (diff)
downloadgsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.tar
gsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.tar.gz
gsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.tar.bz2
gsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.tar.lz
gsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.tar.xz
gsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.tar.zst
gsoc2013-evolution-fa93d70ade2f492bb46690e0bb86a30c432bb043.zip
Add another
svn path=/trunk/; revision=1399
Diffstat (limited to 'e-util/e-util.h-29002')
-rw-r--r--e-util/e-util.h-2900224
1 files changed, 24 insertions, 0 deletions
diff --git a/e-util/e-util.h-29002 b/e-util/e-util.h-29002
new file mode 100644
index 0000000000..ad4d754770
--- /dev/null
+++ b/e-util/e-util.h-29002
@@ -0,0 +1,24 @@
+#ifndef _E_UTIL_H_
+#define _E_UTIL_H_
+
+#define E_MAKE_TYPE(l,str,t,ci,i,parent) \
+GtkType l##_get_type(void)\
+{\
+ static GtkType type = 0;\
+ if (!type){\
+ GtkTypeInfo info = {\
+ str,\
+ sizeof (t),\
+ sizeof (t##Class),\
+ (GtkClassInitFunc) ci,\
+ (GtkObjectInitFunc) i,\
+ NULL, /* reserved 1 */\
+ NULL, /* reserved 2 */\
+ (GtkClassInitFunc) NULL\
+ };\
+ type = gtk_type_unique (parent, &info);\
+ }\
+ return type;\
+}\
+
+#endif /* _E_UTIL_H_ */