diff src/gtkmain.c @ 11525:b47708f46a38

[gaim-migrate @ 13773] Here's the rest of that custom smiley receiving patch, with some changes from me. I'm still not all that happy with it, but that's probably not the author's fault, and I don't have time to take it further right now. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Mon, 12 Sep 2005 13:25:41 +0000
parents 2fdd2bd7755a
children 9b3833da6840
line wrap: on
line diff
--- a/src/gtkmain.c	Mon Sep 12 06:50:29 2005 +0000
+++ b/src/gtkmain.c	Mon Sep 12 13:25:41 2005 +0000
@@ -57,6 +57,7 @@
 #include "gtkroomlist.h"
 #include "gtksavedstatuses.h"
 #include "gtksound.h"
+#include "gtkthemes.h"
 #include "gtkutils.h"
 #include "gtkstock.h"
 #include "gtkwhiteboard.h"
@@ -215,13 +216,7 @@
 	char *icon_path;
 #endif
 
-	if (current_smiley_theme == NULL) {
-		smiley_theme_probe();
-		if (smiley_themes != NULL) {
-			struct smiley_theme *smile = smiley_themes->data;
-			load_smiley_theme(smile->path, TRUE);
-		}
-	}
+	gaim_gtkthemes_init();
 
 	gaim_gtk_blist_setup_sort_methods();