[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Console/UI Same Application

Hello,
I have an application in which I want to control the presence of any graphical pieces through command line arguments (Linux). My problem is that something is still trying to display even in console mode which causes GTK errors (see below) and a java crash. My plugin only extends "Plugin" and I am not calling Platform.createAndRunWorkbench unless in UI mode. Is this possible and there is something I'm missing, or do I have to have separate UI/Console applications?


thanks,
adam


(kernel:9156): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(kernel:9156): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(kernel:9156): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed

(kernel:9156): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window