diff options
author | Jasmine Hassan <[email protected]> | 2012-10-27 11:00:28 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:49 +0200 |
commit | 235ac60d2e47057b7e1943c19e9126927888a301 (patch) | |
tree | 67849b2348785a64a5d1da98eed10852bf0f9a36 /eel | |
parent | b50a7e051df6589e2d9059ec26329ec7be39a724 (diff) | |
download | caja-235ac60d2e47057b7e1943c19e9126927888a301.tar.bz2 caja-235ac60d2e47057b7e1943c19e9126927888a301.tar.xz |
[eel] remove eel_gdk_window_focus
http://git.gnome.org/browse/nautilus/commit/?id=7e8d1dfa6a17fe9189bf2489b735cd6462f03571\
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-gdk-extensions.c | 12 | ||||
-rw-r--r-- | eel/eel-gdk-extensions.h | 5 |
2 files changed, 0 insertions, 17 deletions
diff --git a/eel/eel-gdk-extensions.c b/eel/eel-gdk-extensions.c index f9e28f6d..2a5f8734 100644 --- a/eel/eel-gdk-extensions.c +++ b/eel/eel-gdk-extensions.c @@ -431,18 +431,6 @@ eel_gdk_color_is_dark (GdkColor *color) return intensity < 128; } -void -eel_gdk_window_focus (GdkWindow *window, guint32 timestamp) -{ - gdk_error_trap_push (); - XSetInputFocus (GDK_DISPLAY (), - GDK_WINDOW_XWINDOW (window), - RevertToParent, - timestamp); - gdk_flush(); - gdk_error_trap_pop (); -} - EelGdkGeometryFlags eel_gdk_parse_geometry (const char *string, int *x_return, int *y_return, guint *width_return, guint *height_return) diff --git a/eel/eel-gdk-extensions.h b/eel/eel-gdk-extensions.h index ca253403..a879bdce 100644 --- a/eel/eel-gdk-extensions.h +++ b/eel/eel-gdk-extensions.h @@ -112,11 +112,6 @@ char * eel_gdk_rgb_to_color_spec (guint32 gboolean eel_gdk_color_is_dark (GdkColor *color); - -/* Misc GdkWindow helper functions */ -void eel_gdk_window_focus (GdkWindow *window, - guint32 timestamp); - /* Wrapper for XParseGeometry */ EelGdkGeometryFlags eel_gdk_parse_geometry (const char *string, int *x_return, |