restrict-applications: Use HdyPreferencesWindow

HdyPreferencesWindow provides a neat API we can use for
windows like this.
This commit is contained in:
Christopher Davis 2021-02-08 05:53:18 -08:00 committed by Georges Basile Stavracas Neto
parent 358cad3a24
commit c68058f0f3
6 changed files with 28 additions and 73 deletions

View file

@ -178,8 +178,6 @@
<property name="visible">False</property>
<property name="modal">True</property>
<property name="destroy-with-parent">False</property>
<property name="use-header-bar">1</property>
<signal name="delete-event" handler="on_restrict_applications_dialog_delete_event_cb" />
<signal name="response" handler="on_restrict_applications_dialog_response_cb" />
</object>
</interface>