[gtk+/gtk-2-90: 68/200] Remove deprecated code from GdkPixmap



commit b9b8efc528f826008c94ab8d9322f4441bc39ad2
Author: Javier Jardón <javierjc1982 gmail com>
Date:   Fri Oct 9 15:38:19 2009 +0200

    Remove deprecated code from GdkPixmap

 docs/reference/gdk/gdk-sections.txt  |    4 ----
 docs/reference/gdk/tmpl/pixmaps.sgml |   32 --------------------------------
 gdk/gdkpixmap.h                      |    6 ------
 3 files changed, 0 insertions(+), 42 deletions(-)
---
diff --git a/docs/reference/gdk/gdk-sections.txt b/docs/reference/gdk/gdk-sections.txt
index 184b1a5..ba7b6fe 100644
--- a/docs/reference/gdk/gdk-sections.txt
+++ b/docs/reference/gdk/gdk-sections.txt
@@ -258,11 +258,7 @@ gdk_pixmap_create_from_xpm
 gdk_pixmap_colormap_create_from_xpm
 gdk_pixmap_create_from_xpm_d
 gdk_pixmap_colormap_create_from_xpm_d
-gdk_pixmap_ref
-gdk_pixmap_unref
 GdkBitmap
-gdk_bitmap_ref
-gdk_bitmap_unref
 
 <SUBSECTION Standard>
 GDK_PIXMAP
diff --git a/docs/reference/gdk/tmpl/pixmaps.sgml b/docs/reference/gdk/tmpl/pixmaps.sgml
index 6d210d3..d64418f 100644
--- a/docs/reference/gdk/tmpl/pixmaps.sgml
+++ b/docs/reference/gdk/tmpl/pixmaps.sgml
@@ -118,21 +118,6 @@ for the new pixmap. Can be %NULL, if the depth is given.
 @Returns: 
 
 
-<!-- ##### MACRO gdk_pixmap_ref ##### -->
-<para>
-Deprecated equivalent of g_object_ref().
-</para>
-
- Returns: @pixmap
-
-
-<!-- ##### MACRO gdk_pixmap_unref ##### -->
-<para>
-Deprecated equivalent of g_object_unref().
-</para>
-
-
-
 <!-- ##### TYPEDEF GdkBitmap ##### -->
 <para>
 An opaque structure representing an offscreen drawable of depth
@@ -140,20 +125,3 @@ An opaque structure representing an offscreen drawable of depth
 #GdkWindow, can often be used interchangeably.  The type #GdkDrawable
 refers generically to any of these types.
 </para>
-
-
-<!-- ##### MACRO gdk_bitmap_ref ##### -->
-<para>
-Deprecated equivalent of g_object_ref().
-</para>
-
- Returns: @pixmap
-
-
-<!-- ##### MACRO gdk_bitmap_unref ##### -->
-<para>
-Deprecated equivalent of g_object_unref().
-</para>
-
-
-
diff --git a/gdk/gdkpixmap.h b/gdk/gdkpixmap.h
index 470a9e5..01c13b4 100644
--- a/gdk/gdkpixmap.h
+++ b/gdk/gdkpixmap.h
@@ -118,12 +118,6 @@ GdkPixmap*    gdk_pixmap_foreign_new_for_screen  (GdkScreen       *screen,
                                                   gint             height,
                                                   gint             depth);
 
-#ifndef GDK_DISABLE_DEPRECATED
-#define gdk_bitmap_ref                 g_object_ref
-#define gdk_bitmap_unref               g_object_unref
-#define gdk_pixmap_ref                 g_object_ref
-#define gdk_pixmap_unref               g_object_unref
-#endif /* GDK_DISABLE_DEPRECATED */
 
 G_END_DECLS
 



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