[gnome-contacts] No need to pass window to clickable.unrealize
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] No need to pass window to clickable.unrealize
- Date: Mon, 19 Dec 2011 13:52:09 +0000 (UTC)
commit 6803bf41cc3bbf06e1a65decc50f8515a79d855a
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 19 11:27:03 2011 +0100
No need to pass window to clickable.unrealize
src/contacts-clickable.vala | 2 +-
src/contacts-contact-pane.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-clickable.vala b/src/contacts-clickable.vala
index 6101b94..209715a 100644
--- a/src/contacts-clickable.vala
+++ b/src/contacts-clickable.vala
@@ -57,7 +57,7 @@ public class Contacts.Clickable : Object {
this.event_window = event_window;
}
- public void unrealize (Gdk.Window? event_window) {
+ public void unrealize () {
if (activate_timeout != 0)
finish_activate (false);
}
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 18e2dc7..a2627c0 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -112,7 +112,7 @@ public class Contacts.FieldRow : Contacts.Row {
public override void unrealize () {
base.unrealize ();
- clickable.unrealize (null);
+ clickable.unrealize ();
}
public override bool draw (Cairo.Context cr) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]