[nautilus] [eel] remove eel_gdk_window_focus



commit 7e8d1dfa6a17fe9189bf2489b735cd6462f03571
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Aug 21 18:57:15 2010 +0200

    [eel] remove eel_gdk_window_focus

 eel/eel-gdk-extensions.c |   12 ------------
 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 59127bd..04173aa 100644
--- a/eel/eel-gdk-extensions.c
+++ b/eel/eel-gdk-extensions.c
@@ -414,18 +414,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 2d39e83..3d1e3f2 100644
--- a/eel/eel-gdk-extensions.h
+++ b/eel/eel-gdk-extensions.h
@@ -111,11 +111,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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]