changeset 29750:e7b9a5ba3777

gtk_widget_set_window was added in GTK+ 2.18. Thanks to Josh Mueller.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 17 Apr 2010 22:21:17 +0000
parents 67024624f59b
children 2b294edceaed
files pidgin/plugins/ticker/gtkticker.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/ticker/gtkticker.c	Sat Apr 17 03:06:42 2010 +0000
+++ b/pidgin/plugins/ticker/gtkticker.c	Sat Apr 17 22:21:17 2010 +0000
@@ -343,7 +343,7 @@
 
 	window = gdk_window_new (gtk_widget_get_parent_window (widget),
 			&attributes, attributes_mask);
-#if GTK_CHECK_VERSION(2,14,0)
+#if GTK_CHECK_VERSION(2,18,0)
 	gtk_widget_set_window (widget, window);
 #else
 	widget->window = window;