diff src/gtkprefs.c @ 5841:eeb72d03e189

[gaim-migrate @ 6272] smiley themes convert now committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 12 Jun 2003 18:17:31 +0000
parents 729e688fd2e7
children 96e5b32e75ad
line wrap: on
line diff
--- a/src/gtkprefs.c	Thu Jun 12 12:29:24 2003 +0000
+++ b/src/gtkprefs.c	Thu Jun 12 18:17:31 2003 +0000
@@ -451,7 +451,7 @@
 	GtkTreeIter  iter;
 	const char *filename;
 	GValue val = { 0, };
-	
+
 	if (! gtk_tree_selection_get_selected (sel, &model, &iter))
 		return;
 	gtk_tree_model_get_value (model, &iter, 2, &val);
@@ -2758,7 +2758,7 @@
 smiley_theme_pref_cb(const char *name, GaimPrefType type, gpointer value,
 					 gpointer data)
 {
-	if (strcmp(name, ""))
+	if (!strcmp(name, "/gaim/gtk/smileys/theme"))
 		load_smiley_theme((const char *)value, TRUE);
 }