diff --git a/ChangeLog b/ChangeLog index 0779285567..8b3f210768 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-26 Richard Hult + + * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use + deprecated function gtk_widget_ref, replace with g_object_ref. + 2008-06-26 Michael Natterer * gtk/gtkfilesystem.c: #include "config.h" diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c index c849b1253d..5dbeb03ac0 100644 --- a/gtk/gtkdnd-quartz.c +++ b/gtk/gtkdnd-quartz.c @@ -1052,7 +1052,7 @@ gtk_drag_begin_internal (GtkWidget *widget, info = gtk_drag_get_source_info (context, TRUE); - info->widget = gtk_widget_ref (widget); + info->widget = g_object_ref (widget); info->target_list = target_list; gtk_target_list_ref (target_list);