aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-23 09:42:49 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-23 09:42:49 -0500
commita2f21a1da1b1f467751020b56b04808f5dd00695 (patch)
tree4435e5d21a59f77701d6b637446060ec6a323fb8
parent99f3bc0685f85744081eefa0c22d9f7c5b13f327 (diff)
downloadayatana-indicator-datetime-a2f21a1da1b1f467751020b56b04808f5dd00695.tar.gz
ayatana-indicator-datetime-a2f21a1da1b1f467751020b56b04808f5dd00695.tar.bz2
ayatana-indicator-datetime-a2f21a1da1b1f467751020b56b04808f5dd00695.zip
make GObject a prerequisite of the IndicatorDatetimeClock interface.
-rw-r--r--src/clock.c2
-rw-r--r--src/service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/clock.c b/src/clock.c
index adfb0eb..2c2fec2 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -29,7 +29,7 @@ static guint signals[SIGNAL_LAST] = { 0 };
G_DEFINE_INTERFACE (IndicatorDatetimeClock,
indicator_datetime_clock,
- 0);
+ G_TYPE_OBJECT);
static void
indicator_datetime_clock_default_init (IndicatorDatetimeClockInterface * klass)
diff --git a/src/service.c b/src/service.c
index cb2ab4f..5fffc11 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2317,7 +2317,7 @@ indicator_datetime_service_class_init (IndicatorDatetimeServiceClass * klass)
properties[PROP_CLOCK] = g_param_spec_object ("clock",
"Clock",
"The clock",
- G_TYPE_OBJECT,
+ INDICATOR_TYPE_DATETIME_CLOCK,
flags);
properties[PROP_PLANNER] = g_param_spec_object ("planner",