diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-07-21 14:52:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-07-21 14:52:05 +0000 |
commit | 465daa910f5fc247f7e22ea5f9b33757eebe4f0d (patch) | |
tree | 8137baf31272682934a595c4e3f58576f39009c9 /gtk/gtkrc.c | |
parent | c70489d6ebb4ea3e676beb831935fb3032ad0a39 (diff) | |
download | gtk+-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.c | 4 |
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); |