[gtk+] Move gtk_widget_reset_style() out of the deprecation ifdef.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move gtk_widget_reset_style() out of the deprecation ifdef.
- Date: Fri, 28 Jan 2011 09:18:00 +0000 (UTC)
commit 1cd82eff4be800d9c8ccdc26a3ec15b740a79c7d
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jan 28 10:17:06 2011 +0100
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 269807f..17ff1f5 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]