# HG changeset patch # User John Bailey # Date 1258443564 0 # Node ID eef381e831c65fb98dce68848b36900d62f7c6f8 # Parent d5fe33c3a76573eecda25ec218bcaf9ce748268d Fix the Windows font pref for the new GTK version requirements. diff -r d5fe33c3a765 -r eef381e831c6 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Tue Nov 17 07:33:47 2009 +0000 +++ b/pidgin/gtkprefs.c Tue Nov 17 07:39:24 2009 +0000 @@ -1473,7 +1473,7 @@ 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 @@ 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);