diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-07-18 17:02:46 +0200 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2014-07-18 17:02:46 +0200 |
commit | 0bc62ec853049abc4abc724bbde142e8e56b2931 (patch) | |
tree | 06f1a2b5397ed955f6243699714cb9bc76d4b029 /src/kiro-trb.c | |
parent | 2b130e84ccadd2953263d96d16e19f3d219f6d54 (diff) | |
download | kiro-0bc62ec853049abc4abc724bbde142e8e56b2931.tar.gz kiro-0bc62ec853049abc4abc724bbde142e8e56b2931.tar.bz2 kiro-0bc62ec853049abc4abc724bbde142e8e56b2931.tar.xz kiro-0bc62ec853049abc4abc724bbde142e8e56b2931.zip |
Changed gobject initialization for backward compatibility with older versions of GLib
Diffstat (limited to 'src/kiro-trb.c')
-rw-r--r-- | src/kiro-trb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kiro-trb.c b/src/kiro-trb.c index dc8146f..aa71648 100644 --- a/src/kiro-trb.c +++ b/src/kiro-trb.c @@ -60,7 +60,7 @@ struct _KiroTrbPrivate { }; -G_DEFINE_TYPE_WITH_PRIVATE (KiroTrb, kiro_trb, G_TYPE_OBJECT); +G_DEFINE_TYPE (KiroTrb, kiro_trb, G_TYPE_OBJECT); static @@ -84,6 +84,7 @@ kiro_trb_class_init (KiroTrbClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS(klass); gobject_class->finalize = kiro_trb_finalize; + g_type_class_add_private(klass, sizeof(KiroTrbPrivate)); } |