Keep around an "active_display" member in GimpImageWindow
And add gimp_image_window_set_active_display(). Call the new function when creating a shell. Will all be done by the means of a GimpContext later, but is a step to get rid of FIXME hacks.
This commit is contained in:
@ -36,6 +36,8 @@ struct _GimpImageWindow
|
||||
{
|
||||
GimpWindow parent_instance;
|
||||
|
||||
GimpDisplay *active_display;
|
||||
|
||||
GimpUIManager *menubar_manager;
|
||||
|
||||
GtkWidget *main_vbox;
|
||||
@ -53,6 +55,8 @@ struct _GimpImageWindowClass
|
||||
|
||||
GType gimp_image_window_get_type (void) G_GNUC_CONST;
|
||||
|
||||
void gimp_image_window_set_active_display (GimpImageWindow *window,
|
||||
GimpDisplay *display);
|
||||
GimpDisplay * gimp_image_window_get_active_display (GimpImageWindow *window);
|
||||
|
||||
void gimp_image_window_set_fullscreen (GimpImageWindow *window,
|
||||
|
Reference in New Issue
Block a user