summaryrefslogtreecommitdiff
path: root/eel/eel-gdk-extensions.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-27 11:00:28 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:49 +0200
commit235ac60d2e47057b7e1943c19e9126927888a301 (patch)
tree67849b2348785a64a5d1da98eed10852bf0f9a36 /eel/eel-gdk-extensions.c
parentb50a7e051df6589e2d9059ec26329ec7be39a724 (diff)
downloadcaja-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/eel-gdk-extensions.c')
-rw-r--r--eel/eel-gdk-extensions.c12
1 files changed, 0 insertions, 12 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)