summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-07-21 14:52:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-07-21 14:52:05 +0000
commit465daa910f5fc247f7e22ea5f9b33757eebe4f0d (patch)
tree8137baf31272682934a595c4e3f58576f39009c9 /gtk/gtkrc.c
parentc70489d6ebb4ea3e676beb831935fb3032ad0a39 (diff)
downloadgtk+-465daa910f5fc247f7e22ea5f9b33757eebe4f0d.tar.gz
Replace gtk_rc_style_ref/unref by g_object_ref/unref.
2006-07-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstyle.c: * gtk/gtkrc.c: * gtk/gtkwidget.c: Replace gtk_rc_style_ref/unref by g_object_ref/unref.
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r--gtk/gtkrc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
index aa0b0e1a78..0b5280b001 100644
--- a/gtk/gtkrc.c
+++ b/gtk/gtkrc.c
@@ -2284,9 +2284,7 @@ gtk_rc_style_to_style (GtkRcContext *context,
style = GTK_RC_STYLE_GET_CLASS (rc_style)->create_style (rc_style);
_gtk_style_init_for_settings (style, context->settings);
- style->rc_style = rc_style;
-
- gtk_rc_style_ref (rc_style);
+ style->rc_style = g_object_ref (rc_style);
GTK_STYLE_GET_CLASS (style)->init_from_rc (style, rc_style);