about: handle response from about dialog

On systems where this shows a close button, we need to handle the
response and destroy the dialog.
This commit is contained in:
Christian Hergert
2016-04-16 17:22:52 -07:00
parent f4aabd8b7c
commit 117d4c480d

View File

@ -170,6 +170,11 @@ sysprof_about (GSimpleAction *action,
"website-label", _("Learn more about Sysprof"),
NULL);
g_signal_connect (dialog,
"response",
G_CALLBACK (gtk_widget_destroy),
NULL);
gtk_window_present (dialog);
}