summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2018-01-20 23:54:19 +0200
committerraveit65 <[email protected]>2023-11-13 10:15:39 +0100
commitc47ada29b4d8321d589be55db43105daceecc21c (patch)
treef1b6db9c05ffef662845155ac5edf3c48845fb18
parent7bcb4bbb7da624411ec2fe3dcad036fd2a52cf73 (diff)
downloadmate-panel-c47ada29b4d8321d589be55db43105daceecc21c.tar.bz2
mate-panel-c47ada29b4d8321d589be55db43105daceecc21c.tar.xz
status-notifier: fix a typo
Cherry-picked from gnome-panel commit 55667a735ea33336f5b0912631b184b95ea2140b.
-rw-r--r--applets/notification_area/status-notifier/sn-dbus-menu-item.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/notification_area/status-notifier/sn-dbus-menu-item.c b/applets/notification_area/status-notifier/sn-dbus-menu-item.c
index 62f21ca7..a69109ac 100644
--- a/applets/notification_area/status-notifier/sn-dbus-menu-item.c
+++ b/applets/notification_area/status-notifier/sn-dbus-menu-item.c
@@ -20,7 +20,7 @@
#include "sn-dbus-menu-item.h"
static GdkPixbuf *
-pxibuf_new (GVariant *variant)
+pixbuf_new (GVariant *variant)
{
gsize length;
const guchar *data;
@@ -149,7 +149,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)
@@ -333,7 +333,7 @@ sn_dbus_menu_item_update_props (SnDBusMenuItem *item,
GtkWidget *image;
g_clear_object (&item->icon_data);
- item->icon_data = pxibuf_new (value);
+ item->icon_data = pixbuf_new (value);
if (item->icon_data)
{