[gtk+/client-side-windows: 193/284] Remove unused code
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 193/284] Remove unused code
- Date: Thu, 2 Apr 2009 14:16:08 -0400 (EDT)
commit 3eb2b62120072e45f92d92963f23c1ce649e97b4
Author: Alexander Larsson <alexl redhat com>
Date: Tue Jan 27 15:12:37 2009 +0100
Remove unused code
---
gdk/x11/gdkmain-x11.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index bfe2117..a329cb6 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.c
@@ -138,27 +138,6 @@ gdk_x11_convert_grab_status (gint status)
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 {
GdkDisplay *display;
GdkWindow *window;
@@ -452,7 +431,6 @@ void
_gdk_xgrab_check_destroy (GdkWindow *window)
{
GdkDisplay *display = gdk_drawable_get_display (window);
- GdkDisplayX11 *display_x11 = GDK_DISPLAY_X11 (display);
if (window == display->pointer_grab.native_window &&
display->pointer_grab.window != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]