[gtk+/gtk-2-90: 140/200] [gdk] Remove deprecated GdkVisual stuff



commit 81d1e2ca76db6067b738afc34028dee6948aeaac
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 c3292f9..a4c99e6 100644
--- a/docs/reference/gdk/gdk-sections.txt
+++ b/docs/reference/gdk/gdk-sections.txt
@@ -585,8 +585,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]