[gtk+] Improve some deprecation notes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Improve some deprecation notes
- Date: Sun, 30 Jan 2011 04:10:07 +0000 (UTC)
commit 10b6afa1f597a201fb24f3d513aaddab51889812
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 29 23:09:51 2011 -0500
Improve some deprecation notes
gtk/gtkwidget.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index e77a5fb..567c88f 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8761,7 +8761,8 @@ gtk_widget_reset_style (GtkWidget *widget)
*
* This function is not useful for applications.
*
- * Deprecated:3.0: Use #GtkStyleContext instead
+ * Deprecated:3.0: Use #GtkStyleContext instead, and
+ * gtk_widget_reset_style()
*/
void
gtk_widget_reset_rc_styles (GtkWidget *widget)
@@ -8779,7 +8780,9 @@ gtk_widget_reset_rc_styles (GtkWidget *widget)
* Returns: (transfer none): the default style. This #GtkStyle
* object is owned by GTK+ and should not be modified or freed.
*
- * Deprecated:3.0: Use #GtkStyleContext instead
+ * Deprecated:3.0: Use #GtkStyleContext instead, and
+ * gtk_css_provider_get_default() to obtain a #GtkStyleProvider
+ * with the default widget style information.
*/
GtkStyle*
gtk_widget_get_default_style (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]