updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / consonance / libnotify.patch
blobf59acbfd960a10bd8e169bb12b1e3f28dfb6cc93
1 diff --git a/src/statusicon.c b/src/statusicon.c
2 index f72e808..04efa58 100644
3 --- a/src/statusicon.c
4 +++ b/src/statusicon.c
5 @@ -47,11 +47,10 @@ void show_osd(struct con_win *cwin)
7 /* Create notification instance */
9 - osd = notify_notification_new_with_status_icon(
10 + osd = notify_notification_new(
11 cwin->cstate->curr_mobj->tags->title,
12 (const gchar *)body,
13 - NULL,
14 - GTK_STATUS_ICON(cwin->status_icon));
15 + gtk_status_icon_get_icon_name(GTK_STATUS_ICON(cwin->status_icon)));
16 notify_notification_set_timeout(osd, OSD_TIMEOUT);
18 /* Add album art if set */