[gimp] Bug 600303 - gimp-remote not ready for GSEAL_ENABLE



commit 278e9c277127270536c0b6131c744c3115890713
Author: Michael Natterer <mitch gimp org>
Date:   Tue Nov 3 09:07:20 2009 +0100

    Bug 600303 - gimp-remote not ready for GSEAL_ENABLE
    
    Build with GSEAL_ENABLE

 tools/gimp-remote-x11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/gimp-remote-x11.c b/tools/gimp-remote-x11.c
index ea8a839..03c7685 100644
--- a/tools/gimp-remote-x11.c
+++ b/tools/gimp-remote-x11.c
@@ -54,7 +54,7 @@ source_selection_get (GtkWidget        *widget,
                       const gchar      *uri)
 {
   gtk_selection_data_set (selection_data,
-                          selection_data->target,
+                          gtk_selection_data_get_target (selection_data),
                           8, (const guchar *) uri, strlen (uri));
   gtk_main_quit ();
 }
@@ -309,7 +309,7 @@ gimp_remote_drop_files (GdkDisplay *display,
   gtk_selection_add_target (source, sel_id, sel_type, 0);
 
   /*  drag_begin/motion/drop  */
-  context = gdk_drag_begin (source->window, targetlist);
+  context = gdk_drag_begin (gtk_widget_get_window (source), targetlist);
 
   gdk_drag_motion (context, window, protocol, 0, 0,
                    GDK_ACTION_COPY, GDK_ACTION_COPY, GDK_CURRENT_TIME);



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