]> git.draconx.ca Git - gob-dx.git/commitdiff
Release 2.0.11 v2.0.11
authorGeorge Lebl <jirka@5z.com>
Wed, 27 Oct 2004 09:33:00 +0000 (01:33 -0800)
committerNick Bowler <nbowler@draconx.ca>
Tue, 19 Feb 2019 17:34:02 +0000 (12:34 -0500)
ChangeLog
NEWS
configure
configure.in
gob2.spec
src/main.c
src/test.gob

index 82b8b2ff0bcc9890c314900e0d4ca15ead3bca14..2845d350e079007f1ff2380d012c4bf90e1537a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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
diff --git a/NEWS b/NEWS
index 484e960708527a60c8c10b1a0a6e7e520a965cb3..7e00747c052528cc6202175fb4e93b139d2d2dc3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+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)
index 038527cc9627305c39bcee96b7a1ceebed2a7578..d66e14b55334996bc7d2869c611f5e8ced904b21 100755 (executable)
--- a/configure
+++ b/configure
@@ -1561,7 +1561,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=gob2
- VERSION=2.0.10
+ VERSION=2.0.11
 
 
 cat >>confdefs.h <<_ACEOF
index 57ceb8f0b1a363adacbcf7925d5c94d8e1e274e1..fd759e672df5d44226266d1bc0b4022960f2d6ee 100644 (file)
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
 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
index 86d18656aca5590e670e4e50928f4c351471971b..c57175fdb735ec8547e33a14bfb041e5249eb9e6 100644 (file)
--- a/gob2.spec
+++ b/gob2.spec
@@ -1,4 +1,4 @@
-%define  ver     2.0.10
+%define  ver     2.0.11
 %define  rel     1
 %define  prefix  /usr
 
index 39bc2165c24ca715904fe9e2378bba815292c59b..f62f2f7065eda2c5c16720b8d6b3c003801af61a 100644 (file)
@@ -2297,16 +2297,16 @@ add_inits(Class *c)
                                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;
index b900902b9ec945a5544d5a50a7a325d09fd14320..3de497cae63000b5e98849cfa2608e75fe332a78 100644 (file)
@@ -92,7 +92,7 @@ enum BUBLE {
         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 */
@@ -351,10 +351,23 @@ class Test:Object from G:Object
                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;