Skip to content

Commit

Permalink
nvd_create_gtk_dialog: Quit the main loop at exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Sep 3, 2022
1 parent efece5e commit 044746b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/nvdialog_gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void *nvd_create_gtk_dialog(const char *title, const char *message,
gtk_widget_set_margin_top(image, 12);

g_signal_connect_swapped(dialog, "response",
G_CALLBACK(gtk_widget_destroy), dialog);
G_CALLBACK(gtk_main_quit), NULL);
g_signal_connect_swapped(ok_button, "clicked",
G_CALLBACK(gtk_main_quit), NULL);
GtkWidget *grid = gtk_grid_new();
Expand Down

0 comments on commit 044746b

Please sign in to comment.