Bug #2499 » 0001-gtk4-x-Drop-the-grid-reference-taken-when-detaching--S3_x.patch
| client/gui-gtk-4.0/gui_stuff.c | ||
|---|---|---|
|
setup_dialog(window, toplevel);
|
||
|
gtk_window_set_child(GTK_WINDOW(window), dlg->grid);
|
||
|
/* The window holds the grid now. Drop our reference so that destroying
|
||
|
* the window destroys the grid, and gui_dialog_destroy_handler() runs. */
|
||
|
g_object_unref(dlg->grid);
|
||
|
dlg->v.window = window;
|
||
|
g_signal_connect(window, "close-request",
|
||
|
G_CALLBACK(gui_dialog_delete_handler), dlg);
|
||
- « Previous
- 1
- 2
- Next »