[gtk+/gtk-3-0] widget: Call the non-deprecated function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-0] widget: Call the non-deprecated function
- Date: Sun, 27 Mar 2011 01:06:22 +0000 (UTC)
commit ef2cb57a136132b31536b651a617bda2c4ac67d2
Author: Benjamin Otte <otte redhat com>
Date: Sun Mar 27 01:51:20 2011 +0100
widget: Call the non-deprecated function
Both functions are identical, just that one isn't deprecated.
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 7794c81..eec22be 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7708,7 +7708,7 @@ gtk_widget_set_parent (GtkWidget *widget,
data.use_forall = gtk_widget_is_sensitive (parent) != gtk_widget_is_sensitive (widget);
gtk_widget_propagate_state (widget, &data);
- gtk_widget_reset_rc_styles (widget);
+ gtk_widget_reset_style (widget);
g_signal_emit (widget, widget_signals[PARENT_SET], 0, NULL);
if (priv->parent->priv->anchored)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]