forked from AuroraMiddleware/gtk
Remove unused code
This commit is contained in:
parent
75cb664049
commit
3eb2b62120
@ -138,27 +138,6 @@ gdk_x11_convert_grab_status (gint status)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
generate_grab_broken_event (GdkWindow *window,
|
|
||||||
gboolean keyboard,
|
|
||||||
gboolean implicit,
|
|
||||||
GdkWindow *grab_window)
|
|
||||||
{
|
|
||||||
g_return_if_fail (window != NULL);
|
|
||||||
|
|
||||||
if (!GDK_WINDOW_DESTROYED (window))
|
|
||||||
{
|
|
||||||
GdkEvent event;
|
|
||||||
event.type = GDK_GRAB_BROKEN;
|
|
||||||
event.grab_broken.window = window;
|
|
||||||
event.grab_broken.send_event = 0;
|
|
||||||
event.grab_broken.keyboard = keyboard;
|
|
||||||
event.grab_broken.implicit = implicit;
|
|
||||||
event.grab_broken.grab_window = grab_window;
|
|
||||||
gdk_event_put (&event);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
struct XPointerGrabInfo {
|
struct XPointerGrabInfo {
|
||||||
GdkDisplay *display;
|
GdkDisplay *display;
|
||||||
GdkWindow *window;
|
GdkWindow *window;
|
||||||
@ -452,7 +431,6 @@ void
|
|||||||
_gdk_xgrab_check_destroy (GdkWindow *window)
|
_gdk_xgrab_check_destroy (GdkWindow *window)
|
||||||
{
|
{
|
||||||
GdkDisplay *display = gdk_drawable_get_display (window);
|
GdkDisplay *display = gdk_drawable_get_display (window);
|
||||||
GdkDisplayX11 *display_x11 = GDK_DISPLAY_X11 (display);
|
|
||||||
|
|
||||||
if (window == display->pointer_grab.native_window &&
|
if (window == display->pointer_grab.native_window &&
|
||||||
display->pointer_grab.window != NULL)
|
display->pointer_grab.window != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user