Mercurial > pidgin
changeset 29319:eef381e831c6
Fix the Windows font pref for the new GTK version requirements.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Tue, 17 Nov 2009 07:39:24 +0000 |
parents | d5fe33c3a765 |
children | bd7159aeabc0 |
files | pidgin/gtkprefs.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);