[gnome-panel] status-notifier: fix a typo
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] status-notifier: fix a typo
- Date: Sun, 21 Jan 2018 00:13:06 +0000 (UTC)
commit 55667a735ea33336f5b0912631b184b95ea2140b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Jan 20 23:54:19 2018 +0200
status-notifier: fix a typo
modules/status-notifier/sn-dbus-menu-item.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/status-notifier/sn-dbus-menu-item.c b/modules/status-notifier/sn-dbus-menu-item.c
index 1960565..8bbed4f 100644
--- a/modules/status-notifier/sn-dbus-menu-item.c
+++ b/modules/status-notifier/sn-dbus-menu-item.c
@@ -94,7 +94,7 @@ update_icon (SnDBusMenuItem *item)
}
static GdkPixbuf *
-pxibuf_new (GVariant *variant)
+pixbuf_new (GVariant *variant)
{
gsize length;
const guchar *data;
@@ -223,7 +223,7 @@ sn_dbus_menu_item_new (GVariant *props)
else if (g_strcmp0 (prop, "icon-name") == 0)
item->icon_name = g_variant_dup_string (value, NULL);
else if (g_strcmp0 (prop, "icon-data") == 0)
- item->icon_data = pxibuf_new (value);
+ item->icon_data = pixbuf_new (value);
else if (g_strcmp0 (prop, "label") == 0)
item->label = g_variant_dup_string (value, NULL);
else if (g_strcmp0 (prop, "shortcut") == 0)
@@ -381,7 +381,7 @@ sn_dbus_menu_item_update_props (SnDBusMenuItem *item,
else if (g_strcmp0 (prop, "icon-data") == 0)
{
g_clear_object (&item->icon_data);
- item->icon_data = pxibuf_new (value);
+ item->icon_data = pixbuf_new (value);
update_icon (item);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]