changeset 13661:d845dc5712bb

[gaim-migrate @ 16063] Fix Coverity CID 164: Value returned from gaim_prefs_get_string was never used. This is extremely minor. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 19 Apr 2006 02:41:27 +0000
parents f407d99481b8
children b198d0c26b83
files plugins/gaimrc.c
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gaimrc.c	Wed Apr 19 02:15:07 2006 +0000
+++ b/plugins/gaimrc.c	Wed Apr 19 02:41:27 2006 +0000
@@ -357,20 +357,25 @@
 gaimrc_set_font_special(GtkWidget *widget, gpointer data)
 {
 	GtkWidget *font_dialog = NULL;
+#if 0
 	const char *font = NULL;
+#endif
 
 	font_dialog = gtk_font_selection_dialog_new(_("Select Interface Font"));
 	g_signal_connect(G_OBJECT(font_dialog), "response",
 	                 G_CALLBACK(gaimrc_font_response_special), NULL);
 
+#if 0
+	/*
+	 * TODO Figure out a way to test for the presence of a value in the
+	 * actual pref
+	 */
 	font = gaim_prefs_get_string("/plugins/gtk/gaimrc/gtk-font-name");
-	/* TODO Figure out a way to test for the presence of a value in the
-	 * actual pref
 	printf("font - %s.\n", font);
 	if (font != NULL && font != "") {
 		gtk_font_selection_set_font_name(GTK_FONT_SELECTION(GTK_FONT_SELECTION_DIALOG(font_dialog)->fontsel), gaim_prefs_get_string("/plugins/gtk/gaimrc/gtk-font-name"));
 	}
-	*/
+#endif
 
 	gtk_window_present(GTK_WINDOW(font_dialog));
 }