~ubuntu-branches/ubuntu/karmic/tasks/karmic

« back to all changes in this revision

Viewing changes to libkoto/koto-priority-combo.c

  • Committer: Bazaar Package Importer
  • Author(s): Ross Burton
  • Date: 2007-06-14 13:40:08 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070614134008-y1icokig2zuzb8am
Tags: 0.8-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
} KotoPriorityComboPrivate;
33
33
 
34
34
static void
35
 
koto_priority_combo_get_property (GObject *object, guint property_id,
36
 
                              GValue *value, GParamSpec *pspec)
37
 
{
38
 
  switch (property_id) {
39
 
  default:
40
 
    G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
41
 
  }
42
 
}
43
 
 
44
 
static void
45
 
koto_priority_combo_set_property (GObject *object, guint property_id,
46
 
                              const GValue *value, GParamSpec *pspec)
47
 
{
48
 
  switch (property_id) {
49
 
  default:
50
 
    G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
51
 
  }
52
 
}
53
 
 
54
 
static void
55
 
koto_priority_combo_dispose (GObject *object)
56
 
{
57
 
  if (G_OBJECT_CLASS (koto_priority_combo_parent_class)->dispose)
58
 
    G_OBJECT_CLASS (koto_priority_combo_parent_class)->dispose (object);
59
 
}
60
 
 
61
 
static void
62
 
koto_priority_combo_finalize (GObject *object)
63
 
{
64
 
  G_OBJECT_CLASS (koto_priority_combo_parent_class)->finalize (object);
65
 
}
66
 
 
67
 
static void
68
35
combo_changed (GtkComboBox *combo)
69
36
{
70
37
  KotoPriorityComboPrivate *priv = GET_PRIVATE (combo);
80
47
static void
81
48
koto_priority_combo_class_init (KotoPriorityComboClass *klass)
82
49
{
83
 
  GObjectClass *object_class = G_OBJECT_CLASS (klass);
84
 
 
85
50
  g_type_class_add_private (klass, sizeof (KotoPriorityComboPrivate));
86
 
 
87
 
  object_class->get_property = koto_priority_combo_get_property;
88
 
  object_class->set_property = koto_priority_combo_set_property;
89
 
  object_class->dispose = koto_priority_combo_dispose;
90
 
  object_class->finalize = koto_priority_combo_finalize;
91
51
}
92
52
 
93
53
static void