Clean up some remnants of the font prefs I killed earlier. cpw.rekkanoryo.prefs_window

Mon, 16 Nov 2009 00:57:04 +0000

author
John Bailey <rekkanoryo@rekkanoryo.org>
date
Mon, 16 Nov 2009 00:57:04 +0000
branch
cpw.rekkanoryo.prefs_window
changeset 28889
607418f3f9c5
parent 28888
b8638c677a20
child 28890
9b5cd2396414

Clean up some remnants of the font prefs I killed earlier.

pidgin/gtkprefs.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkprefs.c	Mon Nov 16 00:54:23 2009 +0000
+++ b/pidgin/gtkprefs.c	Mon Nov 16 00:57:04 2009 +0000
@@ -1596,15 +1596,6 @@
 	return ret;
 }
 
-#if GTK_CHECK_VERSION(2,4,0)
-static void
-pidgin_custom_font_set(GtkFontButton *font_button, gpointer nul)
-{
-	purple_prefs_set_string(PIDGIN_PREFS_ROOT "/conversations/custom_font",
-				gtk_font_button_get_font_name(font_button));
-}
-#endif
-
 static GtkWidget *
 conv_page(void)
 {
@@ -1613,16 +1604,9 @@
 	GtkWidget *toolbar;
 	GtkWidget *iconpref1;
 	GtkWidget *iconpref2;
-	GtkWidget *fontpref;
 	GtkWidget *imhtml;
 	GtkWidget *frame;
 
-#if GTK_CHECK_VERSION(2,4,0)
-	GtkWidget *hbox;
-	GtkWidget *font_button;
-	const char *font_name;
-#endif
-
 	ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE);
 	gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER);
 

mercurial