[gtk+/gtk-2-90: 74/161] Remove deprecated code from GdkPango



commit 2322eb2b5a0187fc0a2539a8f767c235fb65cede
Author: Javier Jardón <javierjc1982 gmail com>
Date:   Fri Oct 9 14:14:12 2009 +0200

    Remove deprecated code from GdkPango

 docs/reference/gdk/gdk-sections.txt            |    1 -
 docs/reference/gdk/tmpl/pango_interaction.sgml |    9 ---------
 gdk/gdk.symbols                                |    3 ---
 gdk/gdkpango.c                                 |   18 ------------------
 gdk/gdkpango.h                                 |    4 ----
 5 files changed, 0 insertions(+), 35 deletions(-)
---
diff --git a/docs/reference/gdk/gdk-sections.txt b/docs/reference/gdk/gdk-sections.txt
index e24d308..9f53575 100644
--- a/docs/reference/gdk/gdk-sections.txt
+++ b/docs/reference/gdk/gdk-sections.txt
@@ -870,7 +870,6 @@ gdk_pango_renderer_set_stipple
 gdk_pango_renderer_set_override_color
 gdk_pango_context_get
 gdk_pango_context_get_for_screen
-gdk_pango_context_set_colormap
 GdkPangoAttrEmbossed
 GdkPangoAttrEmbossColor
 GdkPangoAttrStipple
diff --git a/docs/reference/gdk/tmpl/pango_interaction.sgml b/docs/reference/gdk/tmpl/pango_interaction.sgml
index ac61ed9..b03c4b1 100644
--- a/docs/reference/gdk/tmpl/pango_interaction.sgml
+++ b/docs/reference/gdk/tmpl/pango_interaction.sgml
@@ -222,15 +222,6 @@ g_object_unref (gc);
 @Returns: 
 
 
-<!-- ##### FUNCTION gdk_pango_context_set_colormap ##### -->
-<para>
-
-</para>
-
- context: 
- colormap: 
-
-
 <!-- ##### STRUCT GdkPangoAttrEmbossed ##### -->
 <para>
 A Pango text attribute containing a embossed bitmap to be used when
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 0eaaa94..4e71d18 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -889,9 +889,6 @@ gdk_pango_attr_embossed_new
 gdk_pango_attr_stipple_new
 gdk_pango_context_get
 gdk_pango_context_get_for_screen
-#ifndef GDK_DISABLE_DEPRECATED
-gdk_pango_context_set_colormap
-#endif
 gdk_pango_layout_get_clip_region
 gdk_pango_layout_line_get_clip_region
 gdk_pango_renderer_get_default
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index 825b238..a4ca424 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -764,24 +764,6 @@ gdk_pango_renderer_set_override_color (GdkPangoRenderer *gdk_renderer,
     priv->override_color_set[part] = FALSE;
 }
 
-/**
- * gdk_pango_context_set_colormap:
- * @context: a #PangoContext
- * @colormap: a #GdkColormap
- *
- * This function used to set the colormap to be used for drawing with
- * @context. The colormap is now always derived from the graphics
- * context used for drawing, so calling this function is no longer
- * necessary.
- **/
-void
-gdk_pango_context_set_colormap (PangoContext *context,
-				GdkColormap  *colormap)
-{
-  g_return_if_fail (PANGO_IS_CONTEXT (context));
-  g_return_if_fail (colormap == NULL || GDK_IS_COLORMAP (colormap));
-}
-
 /* Gets a renderer to draw with, setting the properties of the
  * renderer and activating it. Note that since we activate the
  * renderer here, the implicit setting of the matrix that
diff --git a/gdk/gdkpango.h b/gdk/gdkpango.h
index 39df0ef..4a83783 100644
--- a/gdk/gdkpango.h
+++ b/gdk/gdkpango.h
@@ -108,10 +108,6 @@ PangoContext *gdk_pango_context_get_for_screen (GdkScreen    *screen);
 #ifndef GDK_MULTIHEAD_SAFE
 PangoContext *gdk_pango_context_get            (void);
 #endif
-#ifndef GDK_DISABLE_DEPRECATED
-void          gdk_pango_context_set_colormap   (PangoContext *context,
-                                                GdkColormap  *colormap);
-#endif 
 
 
 /* Get a clip region to draw only part of a layout or



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