From 44d14782870339fb1702ba42d26f43755c064e0d Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Thu, 5 Sep 2013 18:17:58 +0200 Subject: Use serialized icons for messages and sources The D-Bus protocol is not part of the public API, so it's okay to change it. --- src/im-phone-menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/im-phone-menu.c') diff --git a/src/im-phone-menu.c b/src/im-phone-menu.c index a9c5977..54e32be 100644 --- a/src/im-phone-menu.c +++ b/src/im-phone-menu.c @@ -153,7 +153,7 @@ im_phone_menu_add_message (ImPhoneMenu *menu, const gchar *app_id, const gchar *app_icon, const gchar *id, - const gchar *iconstr, + GVariant *serialized_icon, const gchar *title, const gchar *subtitle, const gchar *body, @@ -179,8 +179,8 @@ im_phone_menu_add_message (ImPhoneMenu *menu, g_menu_item_set_attribute (item, "x-canonical-text", "s", body); g_menu_item_set_attribute (item, "x-canonical-time", "x", time); - if (iconstr) - g_menu_item_set_attribute (item, "icon", "s", iconstr); + if (serialized_icon) + g_menu_item_set_attribute_value (item, "icon", serialized_icon); if (app_icon) g_menu_item_set_attribute (item, "x-canonical-app-icon", "s", app_icon); -- cgit v1.2.3