[gitg/vala: 26/35] fix style in button_{press,release}_event
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/vala: 26/35] fix style in button_{press,release}_event
- Date: Wed, 11 Jul 2012 15:19:38 +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]