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



commit 0daa22af2c837ff37276072813356f2c91224168
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 63a976a..d42f080 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -485,6 +485,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]