[gtk+/gtk-2-24] Deprecate gtk_widget_reset_shapes



commit 64f2460b7baad65cff8441df72e7acfa461c6043
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 14 22:18:41 2010 -0500

    Deprecate gtk_widget_reset_shapes
    
    This function has been removed in GTK+ 3

 gtk/gtkwidget.c |    2 ++
 gtk/gtkwidget.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 39ddbbc..90d549e 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -9488,6 +9488,8 @@ gtk_reset_shapes_recurse (GtkWidget *widget,
  * @widget: a #GtkWidget
  *
  * Recursively resets the shape on this widget and its descendants.
+ *
+ * Deprecated: This function is being removed in GTK+ 3.0. Don't use it.
  **/
 void
 gtk_widget_reset_shapes (GtkWidget *widget)
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 2f0c454..1f4f4c2 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1268,8 +1268,10 @@ void	     gtk_widget_input_shape_combine_mask (GtkWidget *widget,
 						  gint       offset_x,
 						  gint       offset_y);
 
+#if !defined(GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
 /* internal function */
 void	     gtk_widget_reset_shapes	   (GtkWidget *widget);
+#endif
 
 /* Compute a widget's path in the form "GtkWindow.MyLabel", and
  * return newly alocated strings.



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