From 939528e542c111fdeec11ab4bab2d42de3ce6645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 25 Nov 2016 23:44:25 +0200 Subject: [PATCH] gl/x11: Remove unused static function --- gst-libs/gst/gl/x11/gstglwindow_x11.c | 43 --------------------------- 1 file changed, 43 deletions(-) diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c index 63d1d35551..4675122f29 100644 --- a/gst-libs/gst/gl/x11/gstglwindow_x11.c +++ b/gst-libs/gst/gl/x11/gstglwindow_x11.c @@ -418,49 +418,6 @@ gst_gl_window_x11_draw (GstGLWindow * window) gst_gl_window_send_message (window, (GstGLWindowCB) draw_cb, window); } -static inline const gchar * -event_type_to_string (guint type) -{ - switch (type) { - case CreateNotify: - return "CreateNotify"; - case ConfigureNotify: - return "ConfigureNotify"; - case DestroyNotify: - return "DestroyNotify"; - case MapNotify: - return "MapNotify"; - case UnmapNotify: - return "UnmapNotify"; - case Expose: - return "Expose"; - case VisibilityNotify: - return "VisibilityNotify"; - case PropertyNotify: - return "PropertyNotify"; - case SelectionClear: - return "SelectionClear"; - case SelectionNotify: - return "SelectionNotify"; - case SelectionRequest: - return "SelectionRequest"; - case ClientMessage: - return "ClientMessage"; - case KeyPress: - return "KeyPress"; - case KeyRelease: - return "KeyRelease"; - case ButtonPress: - return "ButtonPress"; - case ButtonRelease: - return "ButtonRelease"; - case MotionNotify: - return "MotionNotify"; - default: - return "unknown"; - } -} - void gst_gl_window_x11_handle_events (GstGLWindow * window, gboolean handle_events) {