[gtk+] quartz: fix some more typos



commit 0840b251657122bda8e84412b3f2f67c88d95304
Author: Kristian Rietveld <kris gtk org>
Date:   Thu Dec 23 13:20:14 2010 +0100

    quartz: fix some more typos

 gdk/quartz/gdkdnd-quartz.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c
index 2e6cfc7..7ba1705 100644
--- a/gdk/quartz/gdkdnd-quartz.c
+++ b/gdk/quartz/gdkdnd-quartz.c
@@ -39,8 +39,6 @@ _gdk_quartz_window_drag_begin (GdkWindow *window,
                                GdkDevice *device,
                                GList     *targets)
 {
-  GdkDragContext *context;
-
   g_assert (_gdk_quartz_drag_source_context == NULL);
 
   /* Create fake context */
@@ -48,9 +46,9 @@ _gdk_quartz_window_drag_begin (GdkWindow *window,
                                                   NULL);
   _gdk_quartz_drag_source_context->is_source = TRUE;
 
-  gdk_drag_context_set_device (context, device);
+  gdk_drag_context_set_device (_gdk_quartz_drag_source_context, device);
 
-  return context;
+  return _gdk_quartz_drag_source_context;
 }
 
 static gboolean



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