diff options
author | Ted Gould <ted@canonical.com> | 2009-09-04 10:46:25 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-04 10:46:25 -0500 |
commit | 585541595135fe2317d9f5065073b09ad10052ca (patch) | |
tree | 087b04668f8c433e3bce8872c217fc5e6dab6f0a /src | |
parent | daf90eeba54e340417b89e386c3fb1692001a6ab (diff) | |
download | ayatana-indicator-messages-585541595135fe2317d9f5065073b09ad10052ca.tar.gz ayatana-indicator-messages-585541595135fe2317d9f5065073b09ad10052ca.tar.bz2 ayatana-indicator-messages-585541595135fe2317d9f5065073b09ad10052ca.zip |
We have to drop show_time as a parameter as the caller doesn't really know if that's the case or not anymore.
Diffstat (limited to 'src')
-rw-r--r-- | src/im-menu-item.c | 4 | ||||
-rw-r--r-- | src/im-menu-item.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c index 6f58ebd..2a5265b 100644 --- a/src/im-menu-item.c +++ b/src/im-menu-item.c @@ -287,7 +287,7 @@ indicator_modified_cb (IndicateListener * listener, IndicateListenerServer * ser } ImMenuItem * -im_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gboolean show_time) +im_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator) { ImMenuItem * self = g_object_new(IM_MENU_ITEM_TYPE, NULL); @@ -296,7 +296,7 @@ im_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, priv->listener = listener; priv->server = server; priv->indicator = indicator; - priv->show_time = show_time; + priv->show_time = TRUE; priv->time_update_min = 0; dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), "type", DBUSMENU_CLIENT_TYPES_IMAGE); diff --git a/src/im-menu-item.h b/src/im-menu-item.h index 51414de..8d0c273 100644 --- a/src/im-menu-item.h +++ b/src/im-menu-item.h @@ -53,7 +53,7 @@ struct _ImMenuItem { }; GType im_menu_item_get_type (void); -ImMenuItem * im_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gboolean show_time); +ImMenuItem * im_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator); glong im_menu_item_get_seconds (ImMenuItem * menuitem); G_END_DECLS |