diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-11 14:53:26 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-11 14:53:26 -0400 |
commit | ac81f9ad5f9eea619544f8427a00c44efb8d494c (patch) | |
tree | 2f7a5343591259ec10bf89a7cf115099b630102e /src/im-application-list.c | |
parent | 3f300e10f05ca4d1c724ffc3be57da0fa3543689 (diff) | |
download | ayatana-indicator-messages-ac81f9ad5f9eea619544f8427a00c44efb8d494c.tar.gz ayatana-indicator-messages-ac81f9ad5f9eea619544f8427a00c44efb8d494c.tar.bz2 ayatana-indicator-messages-ac81f9ad5f9eea619544f8427a00c44efb8d494c.zip |
im-application-list: unpack icon correctly
An additional variant was left by unpacking it the old way, which confused
g_icon_deserialize() on the menu-rendering side.
Diffstat (limited to 'src/im-application-list.c')
-rw-r--r-- | src/im-application-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c index 676631e..8e59dcb 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -934,7 +934,7 @@ im_application_list_message_added (Application *app, &id, &maybe_serialized_icon, &title, &subtitle, &body, &time, &action_iter, &draws_attention); if (g_variant_n_children (maybe_serialized_icon) == 1) - serialized_icon = g_variant_get_child_value (maybe_serialized_icon, 0); + g_variant_get_child (maybe_serialized_icon, 0, "v", &serialized_icon); action = g_simple_action_new (id, G_VARIANT_TYPE_BOOLEAN); g_object_set_qdata(G_OBJECT(action), message_action_draws_attention_quark(), GINT_TO_POINTER(draws_attention)); |