diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-07-19 08:52:13 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-07-19 08:52:13 -0400 |
commit | 3dbb6d06549db743bfcc76ec3e64841e1cdb0038 (patch) | |
tree | dabc4970d13edb5e6906be8cabcf310a1d799a03 /signalobject.c.orig | |
parent | 299b166ff820e8413f0c34ed5a2e7afac46cd477 (diff) |
initial commit
Diffstat (limited to 'signalobject.c.orig')
-rw-r--r-- | signalobject.c.orig | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/signalobject.c.orig b/signalobject.c.orig new file mode 100644 index 0000000..68003fe --- /dev/null +++ b/signalobject.c.orig @@ -0,0 +1,38 @@ +#include "signalobject.h" + +G_DEFINE_TYPE (SignalObject, signal_object, G_TYPE_OBJECT); + +static GObject * +signal_object_constructor (GType gtype, + guint n_properties, + GObjectConstructParam *properties) +{ + GObject *obj; + + { + /* Always chain up to the parent constructor */ + obj = G_OBJECT_CLASS (signal_object_parent_class)->constructor (gtype, n_properties, properties); + } + + /* update the object state depending on constructor properties */ + + return obj; +} + + +static void +signal_object_class_init (SignalObjectClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->constructor = signal_object_constructor; +} + + +static void +signal_object_init (SignalObject *self) +{ + /* initialize the object */ +} + + |