aboutsummaryrefslogtreecommitdiff
path: root/src/im-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-04 10:46:25 -0500
committerTed Gould <ted@canonical.com>2009-09-04 10:46:25 -0500
commit585541595135fe2317d9f5065073b09ad10052ca (patch)
tree087b04668f8c433e3bce8872c217fc5e6dab6f0a /src/im-menu-item.c
parentdaf90eeba54e340417b89e386c3fb1692001a6ab (diff)
downloadayatana-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/im-menu-item.c')
-rw-r--r--src/im-menu-item.c4
1 files changed, 2 insertions, 2 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);