anjuta r4770 - in trunk: . libanjuta plugins/debug-manager plugins/scintilla/scintilla
- From: aklapper svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4770 - in trunk: . libanjuta plugins/debug-manager plugins/scintilla/scintilla
- Date: Fri, 20 Feb 2009 20:01:04 +0000 (UTC)
Author: aklapper
Date: Fri Feb 20 20:01:04 2009
New Revision: 4770
URL: http://svn.gnome.org/viewvc/anjuta?rev=4770&view=rev
Log:
2009-02-20 Andre Klapper <a9016009 gmx de>
* libanjuta/anjuta-plugin-manager.c:
* libanjuta/resources.c:
* plugins/debug-manager/stack_trace.c:
* plugins/debug-manager/threads.c:
* plugins/scintilla/scintilla/PlatGTK.cxx:
Replace deprecated gdk_pixbuf_unref by g_object_unref.
Modified:
trunk/ChangeLog
trunk/libanjuta/anjuta-plugin-manager.c
trunk/libanjuta/resources.c
trunk/plugins/debug-manager/stack_trace.c
trunk/plugins/debug-manager/threads.c
trunk/plugins/scintilla/scintilla/PlatGTK.cxx
Modified: trunk/libanjuta/anjuta-plugin-manager.c
==============================================================================
--- trunk/libanjuta/anjuta-plugin-manager.c (original)
+++ trunk/libanjuta/anjuta-plugin-manager.c Fri Feb 20 20:01:04 2009
@@ -1001,7 +1001,7 @@
if (icon) {
gtk_list_store_set (store, &iter,
COL_ICON, icon, -1);
- gdk_pixbuf_unref (icon);
+ g_object_unref (icon);
}
}
g_free (text);
@@ -1075,7 +1075,7 @@
if (icon) {
gtk_list_store_set (store, &iter,
COL_REM_ICON, icon, -1);
- gdk_pixbuf_unref (icon);
+ g_object_unref (icon);
}
}
g_free (text);
Modified: trunk/libanjuta/resources.c
==============================================================================
--- trunk/libanjuta/resources.c (original)
+++ trunk/libanjuta/resources.c Fri Feb 20 20:01:04 2009
@@ -104,7 +104,7 @@
}
pixbuf = gdk_pixbuf_new_from_file_at_size (pathname, width, height, NULL);
pixmap = gtk_image_new_from_pixbuf (pixbuf);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
g_free (pathname);
return pixmap;
}
Modified: trunk/plugins/debug-manager/stack_trace.c
==============================================================================
--- trunk/plugins/debug-manager/stack_trace.c (original)
+++ trunk/plugins/debug-manager/stack_trace.c Fri Feb 20 20:01:04 2009
@@ -323,7 +323,7 @@
g_free (uri);
g_free (adr);
}
- gdk_pixbuf_unref (pic);
+ g_object_unref (pic);
}
@@ -455,7 +455,7 @@
gtk_list_store_set (GTK_LIST_STORE(model), &iter,
STACK_TRACE_ACTIVE_COLUMN, pointer_pix,
-1);
- gdk_pixbuf_unref (pointer_pix);
+ g_object_unref (pointer_pix);
}
}
Modified: trunk/plugins/debug-manager/threads.c
==============================================================================
--- trunk/plugins/debug-manager/threads.c (original)
+++ trunk/plugins/debug-manager/threads.c Fri Feb 20 20:01:04 2009
@@ -358,7 +358,7 @@
}
if (pic)
- gdk_pixbuf_unref (pic);
+ g_object_unref (pic);
}
}
@@ -537,7 +537,7 @@
if (pic != NULL)
{
/* Remove previously selected thread marker */
- gdk_pixbuf_unref (pic);
+ g_object_unref (pic);
pic = NULL;
}
@@ -552,7 +552,7 @@
if (pic != NULL)
{
- gdk_pixbuf_unref (pic);
+ g_object_unref (pic);
}
return FALSE;
Modified: trunk/plugins/scintilla/scintilla/PlatGTK.cxx
==============================================================================
--- trunk/plugins/scintilla/scintilla/PlatGTK.cxx (original)
+++ trunk/plugins/scintilla/scintilla/PlatGTK.cxx Fri Feb 20 20:01:04 2009
@@ -1917,7 +1917,7 @@
gdk_bitmap_unref(list_image->bitmap);
#else
if (list_image->pixbuf)
- gdk_pixbuf_unref (list_image->pixbuf);
+ g_object_unref (list_image->pixbuf);
#endif
g_free(list_image);
}
@@ -2247,7 +2247,7 @@
}
#else
if (list_image->pixbuf)
- gdk_pixbuf_unref(list_image->pixbuf);
+ g_object_unref(list_image->pixbuf);
list_image->pixbuf =
gdk_pixbuf_new_from_xpm_data((const gchar**)xpm_lineform);
#endif
@@ -2474,7 +2474,7 @@
list_image->bitmap = 0;
#else
if (list_image->pixbuf)
- gdk_pixbuf_unref(list_image->pixbuf);
+ g_object_unref(list_image->pixbuf);
list_image->pixbuf = NULL;
#endif
list_image->xpm_data = xpm_data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]