summaryrefslogtreecommitdiff
path: root/src/gpm-manager.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-09 18:41:58 +0200
committerraveit65 <[email protected]>2016-07-25 16:13:40 +0200
commitbfc5fb932891932b3e5f46e8067a5593d461ab96 (patch)
tree561cda2ff6db0a2dbbdf8e8bcacfb4cc5857adcf /src/gpm-manager.c
parente2d30b28338f4d2947117bd98b9555915fd55fe0 (diff)
downloadmate-power-manager-bfc5fb932891932b3e5f46e8067a5593d461ab96.tar.bz2
mate-power-manager-bfc5fb932891932b3e5f46e8067a5593d461ab96.tar.xz
rename a function to match upstream
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f2c0409
Diffstat (limited to 'src/gpm-manager.c')
-rw-r--r--src/gpm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index d07cae8..bfbfa3a 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -1204,7 +1204,7 @@ gpm_manager_engine_discharging_cb (GpmEngine *engine, UpDevice *device, GpmManag
/* only show text if there is a valid time */
if (time_to_empty > 0)
remaining_text = gpm_get_timestring (time_to_empty);
- kind_desc = gpm_device_kind_to_localised_text (kind, 1);
+ kind_desc = gpm_device_kind_to_localised_string (kind, 1);
if (kind == UP_DEVICE_KIND_BATTERY) {
/* TRANSLATORS: laptop battery is now discharging */