summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-08-24 14:41:39 +0000
committerLennart Poettering <lennart@poettering.net>2007-08-24 14:41:39 +0000
commitd6e29376070d14a249d1ba45ce848f763094de03 (patch)
treea46e92409f235bfaae10113b68a949abd729a505
parent2acce7b108dadd97b8ccaa3a49f2ae752d2f86c9 (diff)
GtkStatusIcon is not a GTkWidget, hint from coling
git-svn-id: file:///home/lennart/svn/public/padevchooser/trunk@33 e4aeda27-4315-0410-ac56-b21855d76123
-rw-r--r--src/padevchooser.c2
1 files changed, 1 insertions, 1 deletions
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("<i>%s</i>\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);