summaryrefslogtreecommitdiffstats
path: root/nsplugins/viewer/nsplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsplugins/viewer/nsplugin.h')
-rw-r--r--nsplugins/viewer/nsplugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nsplugins/viewer/nsplugin.h b/nsplugins/viewer/nsplugin.h
index e968eb684..1c241cc8e 100644
--- a/nsplugins/viewer/nsplugin.h
+++ b/nsplugins/viewer/nsplugin.h
@@ -315,6 +315,10 @@ private:
TQPtrList<NSPluginInstance> _trash;
TQCString _app;
+
+ // If plugins use gtk, we call the gtk_init function for them ---
+ // but only do it once.
+ static bool s_initedGTK;
};