raster pushed a commit to branch master. http://git.enlightenment.org/apps/rage.git/commit/?id=ecaccef008313d01df0b00bb5582dce5986426ad
commit ecaccef008313d01df0b00bb5582dce5986426ad Author: Vincent Torri <vincent.to...@gmail.com> Date: Sun Apr 4 17:53:09 2021 +0100 mpris: do not support mpris on Windows Summary: mpris is a Unix dbus tech, there is no such thing on Windows Test Plan: compilation and launch rage --> no more eldbus error messages :) Reviewers: raster Subscribers: netstar, raster Tags: #rage Differential Revision: https://phab.enlightenment.org/D12255 --- src/bin/mpris.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/bin/mpris.c b/src/bin/mpris.c index ef0cd7f..a580e5a 100644 --- a/src/bin/mpris.c +++ b/src/bin/mpris.c @@ -1,4 +1,8 @@ + #include <Elementary.h> + +/* no mpris support on Windows */ +#ifndef _WIN32 #include "main.h" #include "win.h" #include "browser.h" @@ -1140,3 +1144,47 @@ mpris_shutdown(void) // eldbus_connection_unref(conn); conn = NULL; } + +#else + +void +mpris_fullscreen_change(void) +{ +} + +void +mpris_volume_change(void) +{ +} + +void +mpris_loop_status_change(void) +{ +} + +void +mpris_playback_status_change(void) +{ +} + +void +mpris_position_change(double pos EINA_UNUSED) +{ +} + +void +mpris_metadata_change(void) +{ +} + +void +mpris_init(Evas_Object *win EINA_UNUSED) +{ +} + +void +mpris_shutdown(void) +{ +} + +#endif --