pidgin.next.minor: 6ec5af93: Fix the Windows font pref for the new GT...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Nov 17 02:40:40 EST 2009


-----------------------------------------------------------------
Revision: 6ec5af93247e0f9a4b5f8cae5a9b60001d89790a
Ancestor: a0385e038056f7c965ec3abd9d4daf625e653cf4
Author: rekkanoryo at pidgin.im
Date: 2009-11-17T07:39:24
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/6ec5af93247e0f9a4b5f8cae5a9b60001d89790a

Modified files:
        pidgin/gtkprefs.c

ChangeLog: 

Fix the Windows font pref for the new GTK version requirements.

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	7459a48942ae0365b53fc252b2179fc1d2a68d11
+++ pidgin/gtkprefs.c	81e472f4551c6766b0d74975067d4237481e8b43
@@ -1473,7 +1473,7 @@ conv_page(void)
 		PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines",
 		1, 8, NULL);
 
-#if GTK_CHECK_VERSION(2,4,0) && defined _WIN32
+#ifdef _WIN32
 	vbox = pidgin_make_frame(ret, _("Font"));
 
 	fontpref = pidgin_prefs_checkbox(_("Use font from _theme"),
@@ -1492,6 +1492,7 @@ conv_page(void)
 		gtk_widget_set_sensitive(hbox, FALSE);
 	g_signal_connect(G_OBJECT(fontpref), "clicked", G_CALLBACK(pidgin_toggle_sensitive), hbox);
 	g_signal_connect(G_OBJECT(font_button), "font-set", G_CALLBACK(pidgin_custom_font_set), NULL);
+#endif
 
 	vbox = pidgin_make_frame(ret, _("Default Formatting"));
 	gtk_box_set_child_packing(GTK_BOX(vbox->parent), vbox, TRUE, TRUE, 0, GTK_PACK_START);


More information about the Commits mailing list