[gnome-builder/global-search: 1/4] snippets: fix spacing in ginterface
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/global-search: 1/4] snippets: fix spacing in ginterface
- Date: Sat, 13 Dec 2014 07:49:47 +0000 (UTC)
commit e142796b5305d7d3b7e70602b048f4835b3af153
Author: Christian Hergert <christian hergert me>
Date: Fri Dec 12 21:43:30 2014 -0800
snippets: fix spacing in ginterface
src/resources/snippets/chdr.snippets | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/snippets/chdr.snippets b/src/resources/snippets/chdr.snippets
index 4ccfaa2..00b63dc 100644
--- a/src/resources/snippets/chdr.snippets
+++ b/src/resources/snippets/chdr.snippets
@@ -59,11 +59,11 @@ snippet ginterface
G_BEGIN_DECLS
#define ${$1|functify|namespace|upper}_TYPE_${$1|class|functify|upper}
(${$1|functify}_get_type ())
- #define ${$1|functify|namespace|upper}_${$1|class|functify|upper}(obj)
(G_TYPE_CHECK_INSTANCE_CAST ((obj), ${$1|functify|namespace|upper}_TYPE_${$1|class|functify|upper}, $1))
- #define ${$1|functify|namespace|upper}_IS_${$1|class|functify|upper}(obj)
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), ${$1|functify|namespace|upper}_TYPE_${$1|class|functify|upper}))
+ #define ${$1|functify|namespace|upper}_${$1|class|functify|upper}(obj)
(G_TYPE_CHECK_INSTANCE_CAST ((obj), ${$1|functify|namespace|upper}_TYPE_${$1|class|functify|upper}, $1))
+ #define ${$1|functify|namespace|upper}_IS_${$1|class|functify|upper}(obj)
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), ${$1|functify|namespace|upper}_TYPE_${$1|class|functify|upper}))
#define ${$1|functify|namespace|upper}_${$1|class|functify|upper}_GET_INTERFACE(obj)
(G_TYPE_INSTANCE_GET_INTERFACE ((obj), ${$1|functify|namespace|upper}_TYPE_${$1|class|functify|upper},
$1Interface))
- typedef struct _$1 $1;
+ typedef struct _$1 $1;
typedef struct _$1Interface $1Interface;
struct _${1:$filename|stripsuffix|functify|camelize}Interface
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]