repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 252093c7417fad8d19b33b870223610ad98fabbf:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 252093c7417fad8d19b33b870223610ad98fabbf
Author: Marc Lehmann 
Date:   Sun Jun 3 10:42:34 2012 +0000

    *** empty log message ***

diff --git a/src/init.C b/src/init.C
index da0633906c92a96bbf6f8f1423e1057e5bdd6e28..
index ..91e530f558c9930ea053bc9927d78278e0898dcd 100644
--- a/src/init.C
+++ b/src/init.C
@@ -793,11 +793,6 @@ rxvt_term::init2 (int argc, const char *const *argv)

   pty = ptytty::create ();

-  // must be called before create_windows, because the latter may call set_icon
-#ifdef HAVE_PIXBUF
-  g_type_init ();
-#endif
-
   create_windows (argc, argv);

   init_xlocale ();
diff --git a/src/main.C b/src/main.C
index 7b9e0954c2603bdf0c11a47a901877bcee11f31c..
index ..66a70777b1631e570b77bd6f4d259d8fe6cdf634 100644
--- a/src/main.C
+++ b/src/main.C
@@ -573,6 +573,10 @@ rxvt_init ()
   XSetIOErrorHandler (rxvt_xioerror_handler);

   XrmInitialize ();
+
+#ifdef HAVE_PIXBUF
+  g_type_init ();
+#endif
 }

 /*----------------------------------------------------------------------*/

-----END OF PAGE-----