[gnome-system-tools] Bug 549010 – Crash when editing properties of a host



commit 8d67fe28d06d93dac586d3890ad2ee6061b70608
Author: Josselin Mouette <josss malsain org>
Date:   Sun Jul 26 12:23:53 2009 +0200

    Bug 549010 â?? Crash when editing properties of a host
    
    tool is undefined in host_aliases_run_dialog(), we have to use the network_tool argument there. This fixes a crash when pressing the Properties button on the Hosts tab of the network tool.

 src/network/hosts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/network/hosts.c b/src/network/hosts.c
index 7475f06..21f4318 100644
--- a/src/network/hosts.c
+++ b/src/network/hosts.c
@@ -358,7 +358,7 @@ host_aliases_run_dialog (GstNetworkTool *network_tool,
 
   if (iter)
     {
-      list = GST_NETWORK_TOOL (tool)->host_aliases_list;
+      list = network_tool->host_aliases_list;
       model = gtk_tree_view_get_model (list);
 
       gtk_tree_model_get (model, iter,



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