diff options
author | Guido Günther <agx@sigxcpu.org> | 2020-03-31 17:28:38 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2020-03-31 18:42:10 +0200 |
commit | 396c32ec924b848ef5cd6897b84f455d40e12970 (patch) | |
tree | 8100c7ac7b30abd8a1651db25b0dd8e686829da2 /data | |
parent | 72f7772d36bc5468d5311d733af06115b02436bf (diff) |
PPMDialog: Use a template
This allows us to get rid of our custom GtkBuilder loading
Diffstat (limited to 'data')
-rw-r--r-- | data/ui/ppm.ui | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/ui/ppm.ui b/data/ui/ppm.ui index 6eee0c0..2075b36 100644 --- a/data/ui/ppm.ui +++ b/data/ui/ppm.ui @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> - <requires lib="gtk+" version="2.16"/> - <object class="GtkWindow" id="ppm_dialog"> + <requires lib="gtk+" version="3.16"/> + <template class="PPMDialog" parent="GtkApplicationWindow"> <property name="can_focus">False</property> <signal name="delete-event" handler="on_delete" swapped="no"/> <child> @@ -386,5 +386,5 @@ </child> </object> </child> - </object> + </template> </interface> |