diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-16 16:53:39 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-16 16:53:39 +0000 |
commit | ff5ba96c26549ac55adb0050a843b6f08fc71b2a (patch) | |
tree | c1c2e8929557b589402681497286ce9cb6bfb932 /gtk/gtkrc.c | |
parent | 37c28957fe75db03e021cdee8e067063afe591bc (diff) | |
download | gtk+-ff5ba96c26549ac55adb0050a843b6f08fc71b2a.tar.gz |
gtk/gtkfontsel.c gtk/gtkrc.c gtk/gtkstyle.c use g_object_unref() instead
2008-06-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkfontsel.c
* gtk/gtkrc.c
* gtk/gtkstyle.c
* gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
gtk_rc_style_unref().
svn path=/trunk/; revision=20405
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r-- | gtk/gtkrc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 707535e429..211e099c52 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1559,7 +1559,7 @@ gtk_rc_clear_hash_node (gpointer key, gpointer data, gpointer user_data) { - gtk_rc_style_unref (data); + g_object_unref (data); } static void @@ -2453,7 +2453,7 @@ gtk_rc_init_style (GtkRcContext *context, } style = gtk_rc_style_to_style (context, proto_style); - gtk_rc_style_unref (proto_style); + g_object_unref (proto_style); g_hash_table_insert (realized_style_ht, rc_styles, style); } @@ -3235,7 +3235,7 @@ gtk_rc_parse_style (GtkRcContext *context, err: if (rc_style != orig_style) - gtk_rc_style_unref (rc_style); + g_object_unref (rc_style); if (orig_style) g_object_unref (orig_style); |