[egg-list-box] fix style in button_{press,release}_event
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] fix style in button_{press,release}_event
- Date: Fri, 1 Jun 2012 10:18:18 +0000 (UTC)
commit f548c9de9958c0745d35da6c8d17c4dc05c68d69
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Jun 1 11:30:12 2012 +0200
fix style in button_{press,release}_event
I hate mixing tabs and spaces...
egg-list-box.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/egg-list-box.vala b/egg-list-box.vala
index beeaa77..5f61247 100644
--- a/egg-list-box.vala
+++ b/egg-list-box.vala
@@ -425,9 +425,9 @@ public class Egg.ListBox : Container {
if (event.button == 1) {
unowned ChildInfo? child = find_child_at_y ((int)event.y);
if (child != null) {
- active_child = child;
- active_child_active = true;
- queue_draw ();
+ active_child = child;
+ active_child_active = true;
+ queue_draw ();
}
/* TODO: Should mark as active while down, and handle grab breaks */
@@ -438,7 +438,7 @@ public class Egg.ListBox : Container {
public override bool button_release_event (Gdk.EventButton event) {
if (event.button == 1) {
if (active_child != null && active_child_active)
- select_and_activate (active_child);
+ select_and_activate (active_child);
active_child = null;
active_child_active = false;
queue_draw ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]