Console/UI Same Application [message #334450] |
Tue, 10 February 2009 00:51 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: adam.example.com
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
|
|
|
Powered by
FUDForum. Page generated in 0.03562 seconds