From bfc5fb932891932b3e5f46e8067a5593d461ab96 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 9 Jul 2016 18:41:58 +0200 Subject: rename a function to match upstream taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f2c0409 --- src/gpm-upower.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gpm-upower.c') diff --git a/src/gpm-upower.c b/src/gpm-upower.c index 82d12e9..43f0568 100644 --- a/src/gpm-upower.c +++ b/src/gpm-upower.c @@ -206,7 +206,7 @@ gpm_upower_get_device_summary (UpDevice *device) if (!is_present) return NULL; - kind_desc = gpm_device_kind_to_localised_text (kind, 1); + kind_desc = gpm_device_kind_to_localised_string (kind, 1); /* don't display all the extra stuff for keyboards and mice */ if (kind == UP_DEVICE_KIND_MOUSE || @@ -352,7 +352,7 @@ gpm_upower_get_device_description (UpDevice *device) NULL); details = g_string_new (""); - text = gpm_device_kind_to_localised_text (kind, 1); + text = gpm_device_kind_to_localised_string (kind, 1); /* TRANSLATORS: the type of data, e.g. Laptop battery */ g_string_append_printf (details, "%s %s\n", _("Product:"), text); @@ -466,10 +466,10 @@ gpm_upower_get_device_description (UpDevice *device) } /** - * gpm_device_kind_to_localised_text: + * gpm_device_kind_to_localised_string: **/ const gchar * -gpm_device_kind_to_localised_text (UpDeviceKind kind, guint number) +gpm_device_kind_to_localised_string (UpDeviceKind kind, guint number) { const gchar *text = NULL; switch (kind) { -- cgit v1.2.1