diff options
author | karl-qdh <karl@qdh.org.uk> | 2011-03-15 09:55:23 +0000 |
---|---|---|
committer | karl-qdh <karl@qdh.org.uk> | 2011-03-15 09:55:23 +0000 |
commit | 05e4b574ec953bd6b509f0b623de0cf520ce1598 (patch) | |
tree | ef46a43df4dd2b2c14f07d45c4c566c6ef888a04 /src/indicator-datetime.c | |
parent | 0de507c31bbbadd9b0036486d5b58dcbf6533fb9 (diff) | |
download | ayatana-indicator-datetime-05e4b574ec953bd6b509f0b623de0cf520ce1598.tar.gz ayatana-indicator-datetime-05e4b574ec953bd6b509f0b623de0cf520ce1598.tar.bz2 ayatana-indicator-datetime-05e4b574ec953bd6b509f0b623de0cf520ce1598.zip |
Fixed missed build error, caused by sync problems between netbook and laptop.
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r-- | src/indicator-datetime.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index cf61d25..6f69dac 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -762,7 +762,7 @@ setup_timer (IndicatorDatetime * self, GDateTime * datetime) if (self->priv->show_seconds || (self->priv->time_mode == SETTINGS_TIME_CUSTOM && self->priv->custom_show_seconds)) { - self->priv->timer = g_timeout_add_seconds(1, timer_func, self); + self->priv->timer = g_timeout_add_full(G_PRIORITY_HIGH, 865, timer_func, self, NULL); } else { if (datetime == NULL) { datetime = g_date_time_new_now_local(); @@ -1103,9 +1103,10 @@ indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant *value, } else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_CLEAR_MARKS)) { ido_calendar_menu_item_clear_marks (IDO_CALENDAR_MENU_ITEM (mi_data)); } else if (!g_strcmp0(prop, CALENDAR_MENUITEM_PROP_SET_DATE)) { - gint *array = g_variant_get_fixed_array(value, 3, sizeof(gint)); + gsize size = 3; + const gint * array = g_variant_get_fixed_array(value, &size, sizeof(gint)); // TODO: Needs ido branch merged - lp:~karl-qdh/ido/select-activate-set-date - //ido_calendar_menu_item_set_date (IDO_CALENDAR_MENU_ITEM (mi_data), array[0], array[1], array[2]); + ido_calendar_menu_item_set_date (IDO_CALENDAR_MENU_ITEM (mi_data), array[0], array[1], array[2]); } else { g_warning("Indicator Item property '%s' unknown", prop); } |