summaryrefslogtreecommitdiff
path: root/signalobject.c.orig
blob: 68003fe21c718d8db7c26936cff15d744e97f92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 */
}