[gtk+/gtk-2-90: 141/146] [gdk] Remove deprecated GdkVisual stuff



commit 0a1df10108464715304b764f0bac4d9ae8673a04
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Nov 26 05:37:06 2009 +0100

    [gdk] Remove deprecated GdkVisual stuff

 docs/reference/gdk/gdk-sections.txt  |    2 --
 docs/reference/gdk/tmpl/visuals.sgml |   17 -----------------
 gdk/gdkvisual.h                      |    4 ----
 3 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/docs/reference/gdk/gdk-sections.txt b/docs/reference/gdk/gdk-sections.txt
index 469a4d5..4bd0bc9 100644
--- a/docs/reference/gdk/gdk-sections.txt
+++ b/docs/reference/gdk/gdk-sections.txt
@@ -584,8 +584,6 @@ gdk_visual_get_best
 gdk_visual_get_best_with_depth
 gdk_visual_get_best_with_type
 gdk_visual_get_best_with_both
-gdk_visual_ref
-gdk_visual_unref
 gdk_visual_get_screen
 
 <SUBSECTION Standard>
diff --git a/docs/reference/gdk/tmpl/visuals.sgml b/docs/reference/gdk/tmpl/visuals.sgml
index cd740e9..6738fc3 100644
--- a/docs/reference/gdk/tmpl/visuals.sgml
+++ b/docs/reference/gdk/tmpl/visuals.sgml
@@ -234,23 +234,6 @@ in memory as 0x00, 0xcc, 0xee, 0xff.
 @Returns: 
 
 
-<!-- ##### MACRO gdk_visual_ref ##### -->
-<para>
-Deprecated equivalent of g_object_ref().
-</para>
-
- v: a #GdkVisual
- Returns: the same visual
-
-
-<!-- ##### MACRO gdk_visual_unref ##### -->
-<para>
-Deprecated equivalent of g_object_unref().
-</para>
-
- v: a #GdkVisual
-
-
 <!-- ##### FUNCTION gdk_visual_get_screen ##### -->
 <para>
 
diff --git a/gdk/gdkvisual.h b/gdk/gdkvisual.h
index e864b10..ba6643f 100644
--- a/gdk/gdkvisual.h
+++ b/gdk/gdkvisual.h
@@ -119,10 +119,6 @@ GList* gdk_list_visuals (void);
 
 GdkScreen *gdk_visual_get_screen (GdkVisual *visual);
 
-#ifndef GDK_DISABLE_DEPRECATED
-#define gdk_visual_ref(v) g_object_ref(v)
-#define gdk_visual_unref(v) g_object_unref(v)
-#endif
 
 G_END_DECLS
 



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