[gnome-builder] snippets: fixup on boxed GObjects



commit 8df22e0203396c757397b807061b882a80452cbc
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Tue Mar 15 21:35:05 2016 +0100

    snippets: fixup on boxed GObjects

 data/snippets/gobject.snippets |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/snippets/gobject.snippets b/data/snippets/gobject.snippets
index 3266613..97ae2ba 100644
--- a/data/snippets/gobject.snippets
+++ b/data/snippets/gobject.snippets
@@ -247,7 +247,7 @@ snippet gobject_boxed_ref
                return self;
        }
 
-       $2 *
+       void
        $3_unref ($2 *self)
        {
                g_return_if_fail (self);
@@ -277,7 +277,7 @@ snippet gobject_boxed_ref
        $1     *$4_new   (void);
        $1     *$4_copy  ($1 *self);
        $1     *$4_ref   ($1 *self);
-       void${$1|space} *$4_unref ($1 *self);
+       void${$1|space}  $4_unref ($1 *self);
        $0
        G_DEFINE_AUTOPTR_CLEANUP_FUNC ($1, $4_unref)
        $0
@@ -341,7 +341,7 @@ snippet gobject_boxed_copy
 
        $1     *$4_new   (void);
        $1     *$4_copy  ($1 *self);
-       void${$1|space} *$4_free  ($1 *self);
+       void${$1|space}  $4_free  ($1 *self);
        $0
        G_DEFINE_AUTOPTR_CLEANUP_FUNC ($1, $4_free)
        $0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]