]> Pileus Git - ~andy/gtk/commitdiff
Fix a crash during DND
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Jan 2011 02:36:50 +0000 (21:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Jan 2011 02:36:50 +0000 (21:36 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=640105

gdk/gdkoffscreenwindow.c

index b3c53afca98ec077dbf586f5bfc81527e324a5d4..5257bcc2361a8cb788eb5f044a3337e2e3163e06 100644 (file)
@@ -784,7 +784,7 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass)
   impl_class->set_opacity = NULL;
   impl_class->set_composited = NULL;
   impl_class->destroy_notify = NULL;
-  impl_class->register_dnd = NULL;
+  impl_class->register_dnd = gdk_offscreen_window_do_nothing;
   impl_class->drag_begin = NULL;
   impl_class->process_updates_recurse = gdk_offscreen_window_process_updates_recurse;
   impl_class->sync_rendering = NULL;