[xchat-gnome] plugins/notification: Remove conditional code
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xchat-gnome] plugins/notification: Remove conditional code
- Date: Fri, 15 Apr 2011 12:48:52 +0000 (UTC)
commit 275d2195aaac8b10da2511456b98231de8a3b231
Author: Javier Jardón <jjardon gnome org>
Date: Fri Apr 15 13:47:47 2011 +0100
plugins/notification: Remove conditional code
As we depend on GTK+ 2.24 now
plugins/notification/notification.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/plugins/notification/notification.c b/plugins/notification/notification.c
index b2c5d25..b257bd3 100644
--- a/plugins/notification/notification.c
+++ b/plugins/notification/notification.c
@@ -90,11 +90,8 @@ got_focus_cb (GtkWidget * widget, GdkEventFocus * event, gpointer data)
update_tray ();
-#if GTK_CHECK_VERSION (2, 15, 0)
gtk_status_icon_set_tooltip_text (status_icon, NULL);
-#else
- gtk_status_icon_set_tooltip (status_icon, NULL);
-#endif
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]