diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-08-28 18:39:37 +0200 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2014-08-28 18:40:38 +0200 |
commit | 933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99 (patch) | |
tree | 5bc6ee9921031d3d27489c2b8133599940d4ac2b /src/kiro-client.c | |
parent | c126f452df5d29acd0eee8e6ef9f7aaa4b0358a5 (diff) | |
download | kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.tar.gz kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.tar.bz2 kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.tar.xz kiro-933637e8a1ee376ffccb8ca6ac2c5fc350c6eb99.zip |
Fix #5: Added kiro_CLASS_new methods to all KIRO classes
Changed test software to use the new kiro_CLASS_new functions
Diffstat (limited to 'src/kiro-client.c')
-rw-r--r-- | src/kiro-client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kiro-client.c b/src/kiro-client.c index 0e2d486..1fd7860 100644 --- a/src/kiro-client.c +++ b/src/kiro-client.c @@ -60,6 +60,12 @@ struct _KiroClientPrivate { G_DEFINE_TYPE (KiroClient, kiro_client, G_TYPE_OBJECT); +KiroClient* +kiro_client_new (void) { + return g_object_new (KIRO_TYPE_CLIENT, NULL); +} + + static void kiro_client_init (KiroClient *self) { KiroClientPrivate *priv = KIRO_CLIENT_GET_PRIVATE(self); |