summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-gdk-extensions.c12
-rw-r--r--eel/eel-gdk-extensions.h5
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,