diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 39ddbbcac5..90d549e966 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 2f0c454dd6..1f4f4c2f5b 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.