[gnome-commander] Replaced obsoleted gtk_object_ref() with g_object_ref()



commit 08b7c6818421854951c40632f9969e562373c370
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Jan 31 20:56:53 2011 +0100

    Replaced obsoleted gtk_object_ref() with g_object_ref()

 src/gnome-cmd-file.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index 52b155f..3ad72d3 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -193,7 +193,7 @@ GnomeCmdFile *gnome_cmd_file_new_from_uri (GnomeVFSURI *uri)
     GnomeCmdDir *dir = gnome_cmd_dir_new (get_home_con(), path);
 
     gnome_vfs_uri_unref (parent);
-    gtk_object_unref (GTK_OBJECT (path));
+    g_object_unref (path);
 
     return gnome_cmd_file_new (info, dir);
 }



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