diff options
author | Michael Natterer <mitch@imendio.com> | 2008-08-04 14:23:55 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-08-04 14:23:55 +0000 |
commit | dbd5b75e5ee61738c019550f8f2e8f4c85f5b7f8 (patch) | |
tree | d8f7796e9627f2b85da9a40f896921a536b06041 /gtk/gtktipsquery.c | |
parent | 906db67f37b705e05e853e323f0442299122b2d3 (diff) | |
download | gtk+-dbd5b75e5ee61738c019550f8f2e8f4c85f5b7f8.tar.gz |
gtk/gtkclist.c gtk/gtklist.c gtk/gtkoldeditable.c gtk/gtkpixmap.c
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.c
* gtk/gtklist.c
* gtk/gtkoldeditable.c
* gtk/gtkpixmap.c
* gtk/gtktipsquery.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
svn path=/trunk/; revision=20969
Diffstat (limited to 'gtk/gtktipsquery.c')
-rw-r--r-- | gtk/gtktipsquery.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtktipsquery.c b/gtk/gtktipsquery.c index e80796efeb..73b7fdc537 100644 --- a/gtk/gtktipsquery.c +++ b/gtk/gtktipsquery.c @@ -308,10 +308,10 @@ gtk_tips_query_set_caller (GtkTipsQuery *tips_query, g_return_if_fail (GTK_IS_WIDGET (caller)); if (caller) - gtk_widget_ref (caller); + g_object_ref (caller); if (tips_query->caller) - gtk_widget_unref (tips_query->caller); + g_object_unref (tips_query->caller); tips_query->caller = caller; } @@ -376,7 +376,7 @@ gtk_tips_query_real_stop_query (GtkTipsQuery *tips_query) } if (tips_query->last_crossed) { - gtk_widget_unref (tips_query->last_crossed); + g_object_unref (tips_query->last_crossed); tips_query->last_crossed = NULL; } @@ -419,12 +419,12 @@ gtk_tips_query_emit_widget_entered (GtkTipsQuery *tips_query, NULL, NULL, NULL); - gtk_widget_unref (tips_query->last_crossed); + g_object_unref (tips_query->last_crossed); tips_query->last_crossed = NULL; } else if (widget && widget != tips_query->last_crossed) { - gtk_widget_ref (widget); + g_object_ref (widget); if (tdata || tips_query->emit_always) gtk_signal_emit (GTK_OBJECT (tips_query), tips_query_signals[SIGNAL_WIDGET_ENTERED], @@ -432,7 +432,7 @@ gtk_tips_query_emit_widget_entered (GtkTipsQuery *tips_query, tdata ? tdata->tip_text : NULL, tdata ? tdata->tip_private : NULL); if (tips_query->last_crossed) - gtk_widget_unref (tips_query->last_crossed); + g_object_unref (tips_query->last_crossed); tips_query->last_crossed = widget; } } |