[gedit-list] Creating window on app-activate



I'm trying to create a window on app-activate, but nothing happens, and I get the following console output:

** (gedit:23074): CRITICAL **: gedit_utils_get_window_workspace: assertion `gtk_widget_get_realized (GTK_WIDGET (gtkwindow))' failed

(gedit:23074): Gdk-CRITICAL **: gdk_window_get_position: assertion `GDK_IS_WINDOW (window)' failed

(gedit:23074): Gdk-CRITICAL **: gdk_window_get_width: assertion `GDK_IS_WINDOW (window)' failed

(gedit:23074): Gdk-CRITICAL **: gdk_window_get_height: assertion `GDK_IS_WINDOW (window)' failed

It seems like the app might have not yet reached a certain level of readiness at the point that I'm trying to create the window, but the app doesn't seem to have any defined signals. Therefore, how to create windows at app startup?



Dustin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]