summary refs log tree commit diff stats
path: root/src/fe-gtk/notifications/notification-libnotify.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2015-02-11 17:58:44 -0500
committerTingPing <tingping@tingping.se>2015-02-11 17:58:44 -0500
commit7063406d6caf42f61d87e42db6ce46df9e64ffef (patch)
tree34807a61e8a80c40fedaad33ee9d89d300fd03be /src/fe-gtk/notifications/notification-libnotify.c
parent9858784eb6369dc189836f8971791af5238145ea (diff)
Remove input_balloon_time setting
This setting doesn't work on most platforms
including some notification daemons on linux.

Where it does work I think it is bad behavior
to default overriding their defaults anyway.

It's most valuable use was likely win32
tray balloons which no longer exist.
Diffstat (limited to 'src/fe-gtk/notifications/notification-libnotify.c')
-rw-r--r--src/fe-gtk/notifications/notification-libnotify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-gtk/notifications/notification-libnotify.c b/src/fe-gtk/notifications/notification-libnotify.c
index d3e3a992..94f9679d 100644
--- a/src/fe-gtk/notifications/notification-libnotify.c
+++ b/src/fe-gtk/notifications/notification-libnotify.c
@@ -23,7 +23,7 @@
 static gboolean strip_markup = FALSE;
 
 void
-notification_backend_show (const char *title, const char *text, int timeout)
+notification_backend_show (const char *title, const char *text)
 {
 	NotifyNotification *notification;
 
@@ -33,7 +33,6 @@ notification_backend_show (const char *title, const char *text, int timeout)
 	notification = notify_notification_new (title, text, "hexchat");
 	notify_notification_set_hint (notification, "desktop-entry", g_variant_new_string ("hexchat"));
 
-	notify_notification_set_timeout (notification, timeout);
 	notify_notification_show (notification, NULL);
 
 	g_object_unref (notification);