summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2011-01-28 10:17:06 +0100
committerMurray Cumming <murrayc@murrayc.com>2011-01-28 10:17:06 +0100
commit1cd82eff4be800d9c8ccdc26a3ec15b740a79c7d (patch)
tree3af52b9f25f9ae9c6137fb6466406dca47d3ec9d
parent3efc06a659c15e41fc6e7507235d04c361a60517 (diff)
downloadgtk+-1cd82eff4be800d9c8ccdc26a3ec15b740a79c7d.tar.gz
Move gtk_widget_reset_style() out of the deprecation ifdef.
This new function was not apparently meant to be inside the deprecation guards.
-rw-r--r--gtk/gtkwidget.h3
1 files changed, 2 insertions, 1 deletions
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);