changeset 22339:143091589795

Initialize the stock stuff before doing anything else so that stock items used in error messages are ready to be used. Fixes #4917.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 27 Feb 2008 20:19:54 +0000
parents a298447b2d66
children b8774519bda0
files pidgin/gtkmain.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Wed Feb 27 12:30:48 2008 +0000
+++ b/pidgin/gtkmain.c	Wed Feb 27 20:19:54 2008 +0000
@@ -301,6 +301,8 @@
 static void
 pidgin_ui_init(void)
 {
+	pidgin_stock_init();
+
 	/* Set the UI operation structures. */
 	purple_accounts_set_ui_ops(pidgin_accounts_get_ui_ops());
 	purple_xfers_set_ui_ops(pidgin_xfers_get_ui_ops());
@@ -315,7 +317,6 @@
 	purple_idle_set_ui_ops(pidgin_idle_get_ui_ops());
 #endif
 
-	pidgin_stock_init();
 	pidgin_account_init();
 	pidgin_connection_init();
 	pidgin_blist_init();