gnome-commander r2342 - in trunk: . src src/intviewer
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2342 - in trunk: . src src/intviewer
- Date: Mon, 8 Dec 2008 18:40:11 +0000 (UTC)
Author: epiotr
Date: Mon Dec 8 18:40:11 2008
New Revision: 2342
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2342&view=rev
Log:
Replaced obsoleted gtk_object_unref() with g_object_unref()
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-bookmark-dialog.cc
trunk/src/gnome-cmd-con-ftp.cc
trunk/src/gnome-cmd-con.cc
trunk/src/gnome-cmd-data.cc
trunk/src/gnome-cmd-dir.cc
trunk/src/intviewer/image-render.cc
trunk/src/intviewer/text-render.cc
Modified: trunk/src/gnome-cmd-bookmark-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-bookmark-dialog.cc (original)
+++ trunk/src/gnome-cmd-bookmark-dialog.cc Mon Dec 8 18:40:11 2008
@@ -616,7 +616,7 @@
else
{
if (con->base_path)
- gtk_object_unref (GTK_OBJECT (con->base_path));
+ g_object_unref (con->base_path);
con->base_path = gnome_cmd_con_create_path (con, bookmark->path);
gtk_object_ref (GTK_OBJECT (con->base_path));
Modified: trunk/src/gnome-cmd-con-ftp.cc
==============================================================================
--- trunk/src/gnome-cmd-con-ftp.cc (original)
+++ trunk/src/gnome-cmd-con-ftp.cc Mon Dec 8 18:40:11 2008
@@ -97,7 +97,7 @@
{
gnome_cmd_con_set_default_dir (con, NULL);
gnome_cmd_con_set_cwd (con, NULL);
- gtk_object_unref (GTK_OBJECT (con->base_path));
+ g_object_unref (con->base_path);
con->base_path = NULL;
con->state = CON_STATE_CLOSED;
con->open_result = CON_OPEN_NOT_STARTED;
Modified: trunk/src/gnome-cmd-con.cc
==============================================================================
--- trunk/src/gnome-cmd-con.cc (original)
+++ trunk/src/gnome-cmd-con.cc Mon Dec 8 18:40:11 2008
@@ -88,7 +88,7 @@
g_free (con->uri);
if (con->base_path)
- gtk_object_unref (GTK_OBJECT (con->base_path));
+ g_object_unref (con->base_path);
g_free (con->open_text);
g_free (con->open_tooltip);
gnome_cmd_pixmap_free (con->open_pixmap);
Modified: trunk/src/gnome-cmd-data.cc
==============================================================================
--- trunk/src/gnome-cmd-data.cc (original)
+++ trunk/src/gnome-cmd-data.cc Mon Dec 8 18:40:11 2008
@@ -1140,7 +1140,7 @@
if (priv)
{
// free the connections
- // gtk_object_unref (GTK_OBJECT (priv->con_list));
+ // g_object_unref (priv->con_list);
// close quick connect
if (quick_connect)
Modified: trunk/src/gnome-cmd-dir.cc
==============================================================================
--- trunk/src/gnome-cmd-dir.cc (original)
+++ trunk/src/gnome-cmd-dir.cc Mon Dec 8 18:40:11 2008
@@ -116,7 +116,7 @@
delete dir->priv->file_collection;
if (dir->priv->path)
- gtk_object_unref (GTK_OBJECT (dir->priv->path));
+ g_object_unref (dir->priv->path);
dir->priv->handle->ref = NULL;
handle_unref (dir->priv->handle);
Modified: trunk/src/intviewer/image-render.cc
==============================================================================
--- trunk/src/intviewer/image-render.cc (original)
+++ trunk/src/intviewer/image-render.cc Mon Dec 8 18:40:11 2008
@@ -154,7 +154,7 @@
if (obj->priv->h_adjustment)
{
gtk_signal_disconnect_by_data (GTK_OBJECT (obj->priv->h_adjustment), (gpointer) obj);
- gtk_object_unref (GTK_OBJECT (obj->priv->h_adjustment));
+ g_object_unref (obj->priv->h_adjustment);
}
obj->priv->h_adjustment = adjustment;
@@ -183,7 +183,7 @@
if (obj->priv->v_adjustment)
{
gtk_signal_disconnect_by_data (GTK_OBJECT (obj->priv->v_adjustment), (gpointer) obj);
- gtk_object_unref (GTK_OBJECT (obj->priv->v_adjustment));
+ g_object_unref (obj->priv->v_adjustment);
}
obj->priv->v_adjustment = adjustment;
@@ -293,11 +293,11 @@
image_render_free_pixbuf (w);
if (w->priv->v_adjustment)
- gtk_object_unref (GTK_OBJECT(w->priv->v_adjustment));
+ g_object_unref (w->priv->v_adjustment);
w->priv->v_adjustment = NULL;
if (w->priv->h_adjustment)
- gtk_object_unref (GTK_OBJECT(w->priv->h_adjustment));
+ g_object_unref (w->priv->h_adjustment);
w->priv->h_adjustment = NULL;
g_free (w->priv);
Modified: trunk/src/intviewer/text-render.cc
==============================================================================
--- trunk/src/intviewer/text-render.cc (original)
+++ trunk/src/intviewer/text-render.cc Mon Dec 8 18:40:11 2008
@@ -208,7 +208,7 @@
if (obj->priv->h_adjustment)
{
gtk_signal_disconnect_by_data (GTK_OBJECT (obj->priv->h_adjustment), (gpointer) obj);
- gtk_object_unref (GTK_OBJECT (obj->priv->h_adjustment));
+ g_object_unref (obj->priv->h_adjustment);
}
obj->priv->h_adjustment = adjustment;
@@ -237,7 +237,7 @@
if (obj->priv->v_adjustment)
{
gtk_signal_disconnect_by_data (GTK_OBJECT (obj->priv->v_adjustment), (gpointer) obj);
- gtk_object_unref (GTK_OBJECT (obj->priv->v_adjustment));
+ g_object_unref (obj->priv->v_adjustment);
}
obj->priv->v_adjustment = adjustment;
@@ -367,11 +367,11 @@
w->priv->fixed_font_name = NULL;
if (w->priv->v_adjustment)
- gtk_object_unref (GTK_OBJECT(w->priv->v_adjustment));
+ g_object_unref (w->priv->v_adjustment);
w->priv->v_adjustment = NULL;
if (w->priv->h_adjustment)
- gtk_object_unref (GTK_OBJECT(w->priv->h_adjustment));
+ g_object_unref (w->priv->h_adjustment);
w->priv->h_adjustment = NULL;
g_free(w->priv->encoding);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]