+Tue Oct 26 16:30:44 2004 George Lebl <jirka@5z.com>
+
+ * Release 2.0.11
+
+Tue Oct 26 16:27:44 2004 George Lebl <jirka@5z.com>
+
+ * src/main.c: fix compile when overrides and privates are used
+
Wed Sep 22 17:12:25 2004 George Lebl <jirka@5z.com>
* Release 2.0.10
+2.0.11:
+ * When privates and overrides were used in 2.0.10 compilation of
+ object may have broken on some compilers.
+
2.0.10:
* Support for overriding properties (Jean-Yves Lefort)
* Some M4 fixage with respect to NOINSTGOB (K. Haley)
# Define the identity of the package.
PACKAGE=gob2
- VERSION=2.0.10
+ VERSION=2.0.11
cat >>confdefs.h <<_ACEOF
AC_PREREQ(2.2)
AC_INIT(src/treefuncs.h)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gob2,2.0.10)
+AM_INIT_AUTOMAKE(gob2,2.0.11)
AM_MAINTAINER_MODE
GLIB_REQUIRED=2.0.0
-%define ver 2.0.10
+%define ver 2.0.11
%define rel 1
%define prefix /usr
did_base_obj = TRUE;
}
+ if (overrides > 0)
+ add_overrides (c,
+ ((FuncArg *)m->args->data)->name,
+ did_base_obj);
+
if (privates > 0)
out_printf (out,
"\n\tg_type_class_add_private(%s,sizeof(%sPrivate));\n",
((FuncArg *)m->args->data)->name,
typebase);
-
- if (overrides > 0)
- add_overrides (c,
- ((FuncArg *)m->args->data)->name,
- did_base_obj);
if (initializers > 0) {
GList *li;
ALT
} Buble:Enum;
-class Test:Object from G:Object
+class Test:Object from /*G:Object*/ Gtk:Container
(interface Gtk:Tree:Model)
/* We can add more interfaces by adding more lines like the above */
/* Note that there must exist a GtkTreeModelIface structure */
return NULL;
}
virtual int beh(self, int h (check > 0));
- /*override(G:Object) void add(Gtk:Container * self (check null type),
- Gtk:Widget * wid (check null type)) {
+ override(Gtk:Container)
+ void add(Gtk:Container * self (check null type),
+ Gtk:Widget * wid (check null type)) {
PARENT_HANDLER(self,wid);
- }*/
+ }
+
+ override(G:Object)
+ void dispatch_properties_changed (G:Object *object,
+ guint n_pspecs,
+ GParamSpec **pspecs)
+ {
+ object = NULL;
+ n_pspecs = 0;
+ pspecs = NULL;
+ /* EKI! */
+ }
+
public int consttest(self, const gchar *text, ...)
{
text = NULL;