libs: window: don't add an unused function

The macro GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE only defines
a function that is never used, thus when compiling we might see
this warning (clang):

gstvaapiwindow.c:147:1: warning: unused function 'gst_vaapi_window_class' [-Wunused-function]
GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE (GstVaapiWindow,
^

https://bugzilla.gnome.org/show_bug.cgi?id=759533
This commit is contained in:
Víctor Manuel Jáquez Leal 2017-04-11 18:50:35 +02:00
parent 8e8280efbf
commit bd2e304ea4

View file

@ -144,9 +144,6 @@ gst_vaapi_window_class_init (GstVaapiWindowClass * klass)
gst_vaapi_window_finalize;
}
GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE (GstVaapiWindow,
gst_vaapi_window, gst_vaapi_window_class_init (&g_class));
GstVaapiWindow *
gst_vaapi_window_new_internal (const GstVaapiWindowClass * window_class,
GstVaapiDisplay * display, GstVaapiID id, guint width, guint height)