Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
3be8fc7f
Verified
Commit
3be8fc7f
authored
Mar 21, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
animatedList: disconnect old vadjustment signal on reassignment
parent
80e9312a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
animatedList.vala
src/animatedList/animatedList.vala
+9
-1
No files found.
src/animatedList/animatedList.vala
View file @
3be8fc7f
...
...
@@ -122,9 +122,17 @@ public class AnimatedList : Gtk.Widget, Gtk.Scrollable {
children
=
new
List
<
AnimatedListItem
>
();
visible_children
=
new
List
<
unowned
AnimatedListItem
>
();
Gtk
.
Adjustment
?
prev_vadjustment
=
null
;
ulong
vadjustment_handler_id
=
0
;
notify
[
"vadjustment"
].
connect
(()
=>
{
if
(
vadjustment_handler_id
!=
0
&&
prev_vadjustment
!=
null
)
{
prev_vadjustment
.
disconnect
(
vadjustment_handler_id
);
vadjustment_handler_id
=
0
;
}
prev_vadjustment
=
vadjustment
;
if
(
vadjustment
!=
null
)
{
vadjustment
.
value_changed
.
connect
(()
=>
{
vadjustment_handler_id
=
vadjustment
.
value_changed
.
connect
(()
=>
{
queue_allocate
();
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment