/pidgin/main: 52c8d399c1ad: Remove unneeded version check.

Mark Doliner mark at kingant.net
Tue Jan 15 01:40:48 EST 2013


Changeset: 52c8d399c1ad6542a213adab5e453c1a3b34473b
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2013-01-14 22:40 -0800
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/52c8d399c1ad

Description:

Remove unneeded version check.

Our configure.ac requires gtk > 2.10.0, so this change is a
no-op (unless this check returns an error with gtk >3.0.0?)

diffstat:

 pidgin/gtkimhtml.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff --git a/pidgin/gtkimhtml.c b/pidgin/gtkimhtml.c
--- a/pidgin/gtkimhtml.c
+++ b/pidgin/gtkimhtml.c
@@ -3963,8 +3963,7 @@ static void gtk_imhtml_image_add_to(GtkI
 
 	gtk_container_add(GTK_CONTAINER(box), GTK_WIDGET(image->image));
 
-	if(!gtk_check_version(2, 4, 0))
-		g_object_set(G_OBJECT(box), "visible-window", FALSE, NULL);
+	g_object_set(G_OBJECT(box), "visible-window", FALSE, NULL);
 
 	gtk_widget_show(GTK_WIDGET(image->image));
 	gtk_widget_show(box);



More information about the Commits mailing list