]> git.draconx.ca Git - gob-dx.git/commitdiff
Release 1.0.8 v1.0.8
authorGeorge Lebl <jirka@5z.com>
Fri, 13 Apr 2001 02:43:00 +0000 (18:43 -0800)
committerNick Bowler <nbowler@draconx.ca>
Tue, 19 Feb 2019 17:20:34 +0000 (12:20 -0500)
ChangeLog
NEWS
README
configure
configure.in
gob.spec
src/main.c

index b4190e26c4d9c3dc62aaa5a1e1043ac873d78cbe..d91f155037cdbd19096e019083645af4367b1574 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Thu Apr 12 09:19:58 2001  George Lebl <jirka@5z.com>
+
+       * Release 1.0.8
+
+Sat Mar 31 00:24:58 2001  George Lebl <jirka@5z.com>
+
+       * src/main.c: fix crash with marshallers of signals with a return
+          type and no arguments.
+
+Tue Feb 27 00:53:41 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * README: Use my new-found maintainer status!!! The power!
+
 Sun Feb 25 17:17:46 2001  George Lebl <jirka@5z.com>
 
        * Release 1.0.7
diff --git a/NEWS b/NEWS
index 045c60fcbe336ce399ce484ef109c178d6a15fc8..8ec51d68d865439046756a5b4a6416949af15a34 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+1.0.8
+       * fix signals with a return value and no argument
+
 1.0.7
        * allow overriding of get_type (allows BonoboXObject)
 
diff --git a/README b/README
index cb1c740ef9b22ed2fa7ee05edfe738cb62f41911..23a952d779bf5a948541ca26263f3344c5320cc0 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,5 @@
 GTK+ Object Builder (GOB)
+(George's Obfuscated Bits)
 
 Very simple preprocessor for making GTK+ objects with inline C code so that
 generated files are not editted.  Syntax is inspired by java and yacc or lex.
index d013f62f6286b27259f6b58ebd9b599d7a8ed6d7..01a92dcbaffa9b8628005e11b7bc5e7617d4319b 100755 (executable)
--- a/configure
+++ b/configure
@@ -703,7 +703,7 @@ fi
 
 PACKAGE=gob
 
-VERSION=1.0.7
+VERSION=1.0.8
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
index 91e1277ee2dfd65eb3e139d0b40679be26697053..7c5b251c89242258e4f9bd0f44567f4ea6b58576 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(gob,1.0.7)
+AM_INIT_AUTOMAKE(gob,1.0.8)
 
 dnl
 dnl  An utter hack to allow embedding of gob inside other packages.
index 06064dbc3fe4bbc0e350c6146c9953bd0208bdd6..acc349cf1c956c62996edd656af7dcde326b4e4e 100644 (file)
--- a/gob.spec
+++ b/gob.spec
@@ -1,4 +1,4 @@
-%define  ver     1.0.7
+%define  ver     1.0.8
 %define  rel     1
 %define  prefix  /usr
 
index d94361a885aad4d5aec038557876ebc79178573f..a3682d1acd411fabda5ae01d3d50240f79a77f49 100644 (file)
@@ -752,14 +752,17 @@ add_signal_prots(Method *m)
                        "\t(*rfunc)((%s *)object", s, s, typebase);
        } else {
                const char *retcast = get_cast(m->gtktypes->data, FALSE);
+               gboolean is_none = (strcmp(m->gtktypes->next->data, "NONE")==0);
                out_printf(out,
                           "\t___%s rfunc;\n\t"
                           "%s *retval;\n\n"
                           "\trfunc = (___%s)func;\n\n"
                           "\tretval = GTK_RETLOC_%s(args[%d]);\n\n"
                           "\t*retval = (*rfunc)((%s *)object",
-                          s, retcast, s, (char *)m->gtktypes->data,
-                          g_list_length(m->gtktypes)-1, typebase);
+                          s, retcast, s,
+                          (char *)m->gtktypes->data,
+                          g_list_length(m->gtktypes) - (is_none ? 2 : 1),
+                          typebase);
        }
        print_signal_marsal_args(m);