Commit 42ac2268 authored by Kristian Rietveld's avatar Kristian Rietveld

Bug 598881 - Unimplemented GdkWindowImplIface methods crash gimp on OSX

Add dummy for _gdk_input_window_crossing ().  Set both input_window_destroy
and input_window_crossing pointers in the Impl struct.

Reported by John Ralls.
parent 861c34b0
......@@ -385,3 +385,9 @@ gdk_device_get_axis (GdkDevice *device, gdouble *axes, GdkAxisUse use, gdouble *
return FALSE;
}
void
_gdk_input_window_crossing (GdkWindow *window,
gboolean enter)
{
}
......@@ -147,6 +147,9 @@ gint _gdk_input_disable_window (GdkWindow *window,
GdkDevicePrivate *gdkdev);
void _gdk_init_input_core (void);
void _gdk_input_window_crossing (GdkWindow *window,
gboolean enter);
void _gdk_input_exit (void);
#endif /* __GDK_INPUTPRIVATE_H__ */
......@@ -25,6 +25,7 @@
#include "gdk.h"
#include "gdkwindowimpl.h"
#include "gdkprivate-quartz.h"
#include "gdkinputprivate.h"
static gpointer parent_class;
......@@ -3035,4 +3036,6 @@ gdk_window_impl_iface_init (GdkWindowImplIface *iface)
iface->queue_antiexpose = _gdk_quartz_window_queue_antiexpose;
iface->queue_translation = _gdk_quartz_window_queue_translation;
iface->destroy = _gdk_quartz_window_destroy;
iface->input_window_destroy = _gdk_input_window_destroy;
iface->input_window_crossing = _gdk_input_window_crossing;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment