[gnome-contacts: 1/8] Remove useless update_separator call on add
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts: 1/8] Remove useless update_separator call on add
- Date: Mon, 4 Jun 2012 11:47:29 +0000 (UTC)
commit 4f369213e334cbfaf74a57d2ae90745f9a7d483c
Author: Alexander Larsson <alexl redhat com>
Date: Fri May 25 13:05:49 2012 +0200
Remove useless update_separator call on add
When we add a child the only separators affected are the new
child, and the one after that.
egg-list-box.vala | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/egg-list-box.vala b/egg-list-box.vala
index 9506597..373a75f 100644
--- a/egg-list-box.vala
+++ b/egg-list-box.vala
@@ -784,10 +784,8 @@ public class Egg.ListBox : Container {
apply_filter (widget);
if (this.get_visible ()) {
- var prev_next = get_next_visible (iter);
update_separator (iter);
update_separator (get_next_visible (iter));
- update_separator (prev_next);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]