[tracker/miner-web: 6/49] tracker-preferences: Fix NULL pointer dereference in the miners tab



commit 428e599ae893ba8c5f67903d67920e1e216a7429
Author: Adrien Bustany <madcat mymadcat com>
Date:   Fri Nov 6 11:41:20 2009 -0300

    tracker-preferences: Fix NULL pointer dereference in the miners tab
    
    The button_miner_associate was not correctly initialized, causing NULL pointer
    dereference at run time.

 src/tracker-preferences/tracker-preferences.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index e00080a..52d9e11 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -478,6 +478,7 @@ static int main (string[] args) {
 		label_miner_associated = builder.get_object ("label_miner_associated") as Label;
 		vbox_miners = builder.get_object ("vbox_miners") as VBox;
 		frame_miner_association = builder.get_object ("frame_miner_association") as Frame;
+		button_miner_associate = builder.get_object ("button_miner_associate") as Button;
 		vbox_miner_tokenassociation = builder.get_object ("vbox_miner_tokenassociation") as VBox;
 		table_miner_userassociation = builder.get_object ("table_miner_userassociation") as Table;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]