aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/music-control/e_mod_main.c8
-rw-r--r--src/modules/music-control/private.h2
-rw-r--r--src/modules/music-control/ui.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/music-control/e_mod_main.c b/src/modules/music-control/e_mod_main.c
index 30c3e96eb..947947143 100644
--- a/src/modules/music-control/e_mod_main.c
+++ b/src/modules/music-control/e_mod_main.c
@@ -186,9 +186,9 @@ cb_playback_status_get(void *data, EDBus_Pending *p, const char *propname, EDBus
}
if (!strcmp(value, "Playing"))
- ctxt->playning = EINA_TRUE;
+ ctxt->playing = EINA_TRUE;
else
- ctxt->playning = EINA_FALSE;
+ ctxt->playing = EINA_FALSE;
music_control_state_update_all(ctxt);
}
@@ -205,9 +205,9 @@ prop_changed(void *data, EDBus_Proxy *proxy, void *event_info)
eina_value_get(value, &status);
if (!strcmp(status, "Playing"))
- ctxt->playning = EINA_TRUE;
+ ctxt->playing = EINA_TRUE;
else
- ctxt->playning = EINA_FALSE;
+ ctxt->playing = EINA_FALSE;
music_control_state_update_all(ctxt);
}
}
diff --git a/src/modules/music-control/private.h b/src/modules/music-control/private.h
index 2248eb347..abfdb7918 100644
--- a/src/modules/music-control/private.h
+++ b/src/modules/music-control/private.h
@@ -14,7 +14,7 @@ typedef struct _E_Music_Control_Module_Context
{
Eina_List *instances;
EDBus_Connection *conn;
- Eina_Bool playning:1;
+ Eina_Bool playing:1;
EDBus_Proxy *mrpis2;
EDBus_Proxy *mpris2_player;
E_Config_DD *conf_edd;
diff --git a/src/modules/music-control/ui.c b/src/modules/music-control/ui.c
index 94e42d1b5..9f5375d06 100644
--- a/src/modules/music-control/ui.c
+++ b/src/modules/music-control/ui.c
@@ -6,7 +6,7 @@ static void
_play_state_update(E_Music_Control_Instance *inst, Eina_Bool without_delay)
{
if (!inst->popup) return;
- if (inst->ctxt->playning)
+ if (inst->ctxt->playing)
{
edje_object_signal_emit(inst->content_popup, "btn,state,image,pause", "play");
return;
@@ -155,7 +155,7 @@ _cfg_data_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
return 1;
inst->ctxt->config->player_selected = cfdata->index;
- inst->ctxt->playning = EINA_FALSE;
+ inst->ctxt->playing = EINA_FALSE;
mpris_media_player2_proxy_unref(inst->ctxt->mpris2_player);
media_player2_player_proxy_unref(inst->ctxt->mrpis2);
music_control_dbus_init(inst->ctxt,