From d6e29376070d14a249d1ba45ce848f763094de03 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Aug 2007 14:41:39 +0000 Subject: GtkStatusIcon is not a GTkWidget, hint from coling git-svn-id: file:///home/lennart/svn/public/padevchooser/trunk@33 e4aeda27-4315-0410-ac56-b21855d76123 --- src/padevchooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/padevchooser.c b/src/padevchooser.c index c55ac8f..8266fb9 100644 --- a/src/padevchooser.c +++ b/src/padevchooser.c @@ -171,7 +171,7 @@ static void notify_event(const char *title, const char*text) { if (!notification) { s = g_strdup_printf("%s\n%s", title, text); - notification = notify_notification_new(title, s, "audio-card", GTK_WIDGET(tray_icon)); + notification = notify_notification_new_with_status_icon(title, s, "audio-card", tray_icon); notify_notification_set_category(notification, "device.added"); notify_notification_set_urgency(notification, NOTIFY_URGENCY_LOW); g_signal_connect_swapped(G_OBJECT(notification), "closed", G_CALLBACK(notification_closed), NULL); -- cgit