forked from enlightenment/efl
emotion: fix build with recent xine.
Patch by Anthony Ramine <nox <at> dev-extend.eu>. SVN revision: 68629
This commit is contained in:
parent
49be656f5b
commit
87eaeaef54
|
@ -130,8 +130,13 @@ _emotion_class_init(xine_t *xine, void *visual __UNUSED__)
|
||||||
cl = (Emotion_Class *) malloc(sizeof(Emotion_Class));
|
cl = (Emotion_Class *) malloc(sizeof(Emotion_Class));
|
||||||
if (!cl) return NULL;
|
if (!cl) return NULL;
|
||||||
cl->driver_class.open_plugin = _emotion_open;
|
cl->driver_class.open_plugin = _emotion_open;
|
||||||
|
#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2)
|
||||||
cl->driver_class.get_identifier = _emotion_class_identifier_get;
|
cl->driver_class.get_identifier = _emotion_class_identifier_get;
|
||||||
cl->driver_class.get_description = _emotion_class_description_get;
|
cl->driver_class.get_description = _emotion_class_description_get;
|
||||||
|
#else
|
||||||
|
cl->driver_class.identifier = _emotion_class_identifier_get(NULL);
|
||||||
|
cl->driver_class.description = _emotion_class_description_get(NULL);
|
||||||
|
#endif
|
||||||
cl->driver_class.dispose = _emotion_class_dispose;
|
cl->driver_class.dispose = _emotion_class_dispose;
|
||||||
cl->config = xine->config;
|
cl->config = xine->config;
|
||||||
cl->xine = xine;
|
cl->xine = xine;
|
||||||
|
|
Loading…
Reference in New Issue