[gnome-commander] Replacing: (GnomeCmdConList *) gnome_cmd_data_get_con_list () -> gnome_cmd_con_list_get ()



commit 233bfc13a093b338fff50fa95217ddfc47efeb3e
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Sep 4 18:25:24 2011 +0200

    Replacing: (GnomeCmdConList *) gnome_cmd_data_get_con_list () -> gnome_cmd_con_list_get ()

 src/gnome-cmd-xml-config.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-xml-config.cc b/src/gnome-cmd-xml-config.cc
index eb22e62..7d84bbd 100644
--- a/src/gnome-cmd-xml-config.cc
+++ b/src/gnome-cmd-xml-config.cc
@@ -532,13 +532,13 @@ static void xml_start(GMarkupParseContext *context,
                                              G_MARKUP_COLLECT_INVALID))
             {
                 if (param4) //  if remote...
-                    xml_con = gnome_cmd_con_list_find_alias ((GnomeCmdConList *) gnome_cmd_data_get_con_list (), param1);
+                    xml_con = gnome_cmd_con_list_find_alias (gnome_cmd_con_list_get (), param1);
                 else
                     if (strcmp(param1,"Home")==0)
-                        xml_con = gnome_cmd_con_list_get_home ((GnomeCmdConList *) gnome_cmd_data_get_con_list ());
+                        xml_con = gnome_cmd_con_list_get_home (gnome_cmd_con_list_get ());
                     else
                         if (strcmp(param1,"SMB")==0)
-                            xml_con = gnome_cmd_con_list_get_smb ((GnomeCmdConList *) gnome_cmd_data_get_con_list ());
+                            xml_con = gnome_cmd_con_list_get_smb (gnome_cmd_con_list_get ());
                         else
                             xml_con = NULL;
 



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