From 1cd82eff4be800d9c8ccdc26a3ec15b740a79c7d Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 28 Jan 2011 10:17:06 +0100 Subject: [PATCH] Move gtk_widget_reset_style() out of the deprecation ifdef. This new function was not apparently meant to be inside the deprecation guards. --- gtk/gtkwidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 269807fea6..17ff1f5935 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -784,6 +784,8 @@ void gtk_widget_override_cursor (GtkWidget *widget, const GdkRGBA *cursor, const GdkRGBA *secondary_cursor); +void gtk_widget_reset_style (GtkWidget *widget); + #if !defined(GTK_DISABLE_DEPRECATED) || defined(GTK_COMPILATION) void gtk_widget_style_attach (GtkWidget *widget); @@ -819,7 +821,6 @@ void gtk_widget_modify_font (GtkWidget *widget, /* Descend recursively and set rc-style on all widgets without user styles */ void gtk_widget_reset_rc_styles (GtkWidget *widget); -void gtk_widget_reset_style (GtkWidget *widget); /* Set certain default values to be used at widget creation time */ GtkStyle* gtk_widget_get_default_style (void);