Don't use deprecated function gtk_widget_ref, replace with g_object_ref.

2008-06-26  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
	deprecated function gtk_widget_ref, replace with g_object_ref.

svn path=/trunk/; revision=20689
This commit is contained in:
Richard Hult 2008-06-26 12:44:10 +00:00 committed by Richard Hult
parent 1a6b0cb1ca
commit 2e6f82b987
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-26 Richard Hult <richard@imendio.com>
* 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 <mitch@imendio.com>
* gtk/gtkfilesystem.c: #include "config.h"

View File

@ -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);