gimp r28209 - in trunk: . app/widgets



Author: mitch
Date: Sun Mar 22 23:16:59 2009
New Revision: 28209
URL: http://svn.gnome.org/viewvc/gimp?rev=28209&view=rev

Log:
2009-03-23  Michael Natterer  <mitch gimp org>

	* app/widgets/gimpdnd.c (gimp_dnd_data_drop_handle): use
	GtkSelectionData's accessors.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpdnd.c

Modified: trunk/app/widgets/gimpdnd.c
==============================================================================
--- trunk/app/widgets/gimpdnd.c	(original)
+++ trunk/app/widgets/gimpdnd.c	Sun Mar 22 23:16:59 2009
@@ -797,7 +797,7 @@
 
   GIMP_LOG (DND, "data type %d", info);
 
-  if (selection_data->length <= 0)
+  if (gtk_selection_data_get_length (selection_data) <= 0)
     {
       gtk_drag_finish (context, FALSE, FALSE, time);
       return;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]