Browse Source

fix error when attempting to change buffer size

libpanel_detach
Alexandros Theodotou 2 months ago
parent
commit
181fa524a0
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      src/utils/gtk.c

2
src/utils/gtk.c

@ -1765,7 +1765,7 @@ z_gtk_dialog_run (GtkDialog * dialog, bool destroy_on_close) @@ -1765,7 +1765,7 @@ z_gtk_dialog_run (GtkDialog * dialog, bool destroy_on_close)
g_object_unref (dialog);
if (destroy_on_close)
if (destroy_on_close && GTK_IS_WINDOW (dialog))
gtk_window_destroy (GTK_WINDOW (dialog));
return ri.response_id;

Loading…
Cancel
Save