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



commit cc2e19e06774261d41a775a7aa02489c0b830522
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 c58af6f..f4aa42a 100644
--- a/docs/reference/gdk/gdk-sections.txt
+++ b/docs/reference/gdk/gdk-sections.txt
@@ -257,11 +257,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 5831979..71121c8 100644
--- a/docs/reference/gdk/tmpl/pixmaps.sgml
+++ b/docs/reference/gdk/tmpl/pixmaps.sgml
@@ -149,21 +149,6 @@ in which case a default color will be used.
 @Returns: the #GdkPixmap.
 
 
-<!-- ##### 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
@@ -171,20 +156,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]