talkatu/talkatu
Clone
Summary
Browse
Changes
Graph
A few random tweaks to TalkatuHistory
gtk4
2022-02-02, Gary Kramlich
7baf8643ecb6
A few random tweaks to TalkatuHistory
The big take away here is that we unparent our children during our dispose.
Testing Done:
Ran the demo and verified that the warning about history still having a child was gone.
Reviewed at https://reviews.imfreedom.org/r/1278/
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires
lib=
"gtk"
version=
"4.0"
/>
<template
class=
"TalkatuScrolledWindow"
parent=
"GtkWidget"
>
<child>
<object
class=
"GtkScrolledWindow"
id=
"scrolled_window"
>
<property
name=
"vexpand"
>
1
</property>
<property
name=
"focusable"
>
1
</property>
<property
name=
"vadjustment"
>
vadjustment
</property>
<child>
<placeholder/>
</child>
</object>
</child>
</template>
<object
class=
"GtkAdjustment"
id=
"vadjustment"
>
<property
name=
"upper"
>
100
</property>
<property
name=
"step-increment"
>
1
</property>
<property
name=
"page-increment"
>
10
</property>
<signal
name=
"changed"
handler=
"talkatu_scrolled_window_vadjustment_changed_cb"
object=
"TalkatuScrolledWindow"
swapped=
"no"
/>
<signal
name=
"value-changed"
handler=
"talkatu_scrolled_window_vadjustment_value_changed_cb"
object=
"TalkatuScrolledWindow"
swapped=
"no"
/>
</object>
</interface>