changeset 35626:c4954e899b5b

Relocate GTK initialization. Initialize after X (i.e. lower level first).
author ib
date Thu, 10 Jan 2013 10:47:17 +0000
parents 4188b70dc3ff
children 51358e7bde85
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Jan 10 10:36:43 2013 +0000
+++ b/gui/interface.c	Thu Jan 10 10:47:17 2013 +0000
@@ -106,10 +106,9 @@
     gtkASS.top_margin    = ass_top_margin;
     gtkASS.bottom_margin = ass_bottom_margin;
 
-    gtkInit();
-
     /* initialize X */
     wsXInit(mDisplay);
+    gtkInit();
 
     /* load skin */