[baobab] Set handler id to 0
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Set handler id to 0
- Date: Mon, 13 Aug 2012 19:48:08 +0000 (UTC)
commit 0d7caeb1dd488f0b05e1cf0bac285cac294a53cb
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Aug 13 21:43:28 2012 +0200
Set handler id to 0
It is not really necessary since it gets reassigned when the scan starts, but it is
clearer to set it to 0 anyway.
src/baobab-window.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 065b7f9..e87bb2a 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -233,6 +233,7 @@ namespace Baobab {
void set_active_location (Location location) {
if (scan_completed_handler > 0) {
active_location.scanner.disconnect (scan_completed_handler);
+ scan_completed_handler = 0;
}
active_location = location;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]