summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2018-01-20 23:54:19 +0200
committerColomban Wendling <[email protected]>2023-10-24 12:06:03 +0200
commit353c71eaf99ab3454033611d3e6cfac4e4f6e924 (patch)
tree1ec65d0facd8e28790e9d55a592acd817ec6f2dd /applets
parent675f72ff302409dcbfb1991cf56fd09a294039bf (diff)
downloadmate-panel-353c71eaf99ab3454033611d3e6cfac4e4f6e924.tar.bz2
mate-panel-353c71eaf99ab3454033611d3e6cfac4e4f6e924.tar.xz
status-notifier: fix a typo
Cherry-picked from gnome-panel commit 55667a735ea33336f5b0912631b184b95ea2140b.
Diffstat (limited to 'applets')
-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 e5c668a2..c122f749 100644
--- a/applets/notification_area/status-notifier/sn-dbus-menu-item.c
+++ b/applets/notification_area/status-notifier/sn-dbus-menu-item.c
@@ -21,7 +21,7 @@
#include "sn-dbus-menu-item.h"
static GdkPixbuf *
-pxibuf_new (GVariant *variant)
+pixbuf_new (GVariant *variant)
{
gsize length;
const guchar *data;
@@ -150,7 +150,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)
@@ -334,7 +334,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)
{