summaryrefslogtreecommitdiffstats
path: root/src/gtk2_in_qt4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk2_in_qt4.cpp')
-rw-r--r--src/gtk2_in_qt4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp
index 641d1ba..ab474be 100644
--- a/src/gtk2_in_qt4.cpp
+++ b/src/gtk2_in_qt4.cpp
@@ -118,8 +118,8 @@ suil_wrapper_new(SuilHost* host,
dlerror();
host->gtk_lib = dlopen(SUIL_GTK2_LIB_NAME, RTLD_LAZY|RTLD_GLOBAL);
if (!host->gtk_lib) {
- fprintf(stderr, "Failed to open %s (%s)\n",
- SUIL_GTK2_LIB_NAME, dlerror());
+ SUIL_ERRORF("Failed to open %s (%s)\n",
+ SUIL_GTK2_LIB_NAME, dlerror());
return NULL;
}
gtk_init(NULL, NULL);