diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-05-07 20:53:09 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-05-07 20:53:09 +0200 |
commit | 7004a8b66768d6d8f9b358fc6960dab9424514ad (patch) | |
tree | 1043bc53c1bb25d386d7ebd59bb9637aa50f204c /src/list-stack.vala | |
parent | 3c44cdf781d4fcb55b4e0c95043f172f218baaa7 (diff) | |
parent | bfb99d8737fd6c62fa24c6980a4d916008de17c4 (diff) | |
download | arctica-greeter-7004a8b66768d6d8f9b358fc6960dab9424514ad.tar.gz arctica-greeter-7004a8b66768d6d8f9b358fc6960dab9424514ad.tar.bz2 arctica-greeter-7004a8b66768d6d8f9b358fc6960dab9424514ad.zip |
Merge branch 'tari01-pr/dbus-server'
Attributes GH PR #46: https://github.com/ArcticaProject/arctica-greeter/pull/46
Diffstat (limited to 'src/list-stack.vala')
-rw-r--r-- | src/list-stack.vala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/list-stack.vala b/src/list-stack.vala index 8f6e371..63bde28 100644 --- a/src/list-stack.vala +++ b/src/list-stack.vala @@ -1,6 +1,7 @@ /* -*- Mode: Vala; indent-tabs-mode: nil; tab-width: 4 -*- * * Copyright (C) 2011,2012 Canonical Ltd + * Copyright (C) 2023 Robert Tari * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as @@ -16,6 +17,7 @@ * * Authors: Michael Terry <michael.terry@canonical.com> * Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + * Robert Tari <robert@tari.in> */ public class ListStack : Gtk.Fixed @@ -75,7 +77,10 @@ public class ListStack : Gtk.Fixed unowned List<weak Gtk.Widget> prev = children.last ().prev; if (prev != null) - (prev.data as GreeterList).greeter_box.pop (); + { + GreeterList pList = (GreeterList) prev.data; + pList.greeter_box.pop (); + } } public override void size_allocate (Gtk.Allocation allocation) |