1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

treewide: Replace gtk_widget_hide_on_delete with hide-on-close property

The `delete-event` signal was removed in GTK4.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev 2023-12-17 22:36:15 -08:00
parent ef0b5a9ff8
commit a21b2b7d4a
3 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@
<property name="visible">True</property>
<property name="default-width">380</property>
<property name="default-height">660</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<property name="hide-on-close">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
@ -98,6 +98,6 @@
<property name="visible">False</property>
<property name="default-width">380</property>
<property name="default-height">660</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<property name="hide-on-close">True</property>
</object>
</interface>

View file

@ -4,7 +4,7 @@
<template class="CallsCallWindow" parent="GtkApplicationWindow">
<property name="hide_titlebar_when_maximized">True</property>
<property name="title" translatable="yes">Calls</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<property name="hide-on-close">True</property>
<child>
<object class="GtkOverlay">
<child type="overlay">

View file

@ -6,7 +6,7 @@
<property name="title" translatable="yes">Calls</property>
<property name="hide_titlebar_when_maximized">True</property>
<property name="show_menubar">False</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<property name="hide-on-close">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
@ -84,7 +84,7 @@
<property name="modal">True</property>
<property name="default-width">240</property>
<property name="default-height">200</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete" object="ussd_dialog" swapped="yes"/>
<property name="hide-on-close">True</property>
<child type="titlebar">
<object class="AdwHeaderBar">
<property name="visible">True</property>