gl/x11: Remove unused static function
authorSebastian Dröge <sebastian@centricular.com>
Fri, 25 Nov 2016 21:44:25 +0000 (23:44 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 25 Nov 2016 21:44:25 +0000 (23:44 +0200)
gst-libs/gst/gl/x11/gstglwindow_x11.c

index 63d1d3555126015a5af9704f469ca801b4ed0439..4675122f2953688f01589bcd2e7aecfc75210827 100644 (file)
@@ -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)
 {