diff options
-rw-r--r-- | src/gtk2_in_qt4.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp index 585d1d5..9dd9cc6 100644 --- a/src/gtk2_in_qt4.cpp +++ b/src/gtk2_in_qt4.cpp @@ -43,8 +43,9 @@ suil_wrap_init(SuilHost* host, if (!host->gtk_lib) { fprintf(stderr, "Failed to open %s (%s)\n", SUIL_GTK2_LIB_NAME, dlerror()); + return 1; } - return 1; + gtk_init(NULL, NULL); } return 0; |