mirror of
https://abf.rosa.ru/djam/firefox-esr68.git
synced 2025-02-24 10:22:56 +00:00
Try to adapt to gtk3 (more work)
This commit is contained in:
parent
ccd1384d23
commit
e356880e00
1 changed files with 2 additions and 2 deletions
|
@ -2524,8 +2524,8 @@ new file mode 100644
|
|||
+ {
|
||||
+ data.loop = g_main_loop_new( NULL, FALSE );
|
||||
+ GtkWidget* window = gtk_window_new( GTK_WINDOW_TOPLEVEL );
|
||||
+ if( parent && gtk_window_get_group(parent) )
|
||||
+ gtk_window_group_add_window( gtk_window_get_group(parent), GTK_WINDOW( window ));
|
||||
+ if( parent && gtk_window_get_group(const_cast<GtkWindow*>(parent)) )
|
||||
+ gtk_window_group_add_window( gtk_window_get_group(const_cast<GtkWindow*>(parent)), GTK_WINDOW( window ));
|
||||
+ gtk_widget_realize( window );
|
||||
+ gtk_widget_set_sensitive( window, TRUE );
|
||||
+ gtk_grab_add( window );
|
||||
|
|
Loading…
Add table
Reference in a new issue