summaryrefslogtreecommitdiff
path: root/shell/app-icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/app-icon.c')
-rw-r--r--shell/app-icon.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/app-icon.c b/shell/app-icon.c
index e53320a..1608650 100644
--- a/shell/app-icon.c
+++ b/shell/app-icon.c
@@ -8,10 +8,10 @@
#include "app-icon.h"
-G_DEFINE_TYPE(WestonGtkAppIcon, weston_gtk_app_icon, GTK_TYPE_BUTTON)
+G_DEFINE_TYPE(MaynardAppIcon, maynard_app_icon, GTK_TYPE_BUTTON)
static void
-weston_gtk_app_icon_init (WestonGtkAppIcon *self)
+maynard_app_icon_init (MaynardAppIcon *self)
{
gtk_style_context_add_class (
gtk_widget_get_style_context (GTK_WIDGET (self)),
@@ -28,18 +28,18 @@ weston_gtk_app_icon_init (WestonGtkAppIcon *self)
}
static void
-weston_gtk_app_icon_class_init (WestonGtkAppIconClass *klass)
+maynard_app_icon_class_init (MaynardAppIconClass *klass)
{
}
GtkWidget *
-weston_gtk_app_icon_new (const gchar *icon_name)
+maynard_app_icon_new (const gchar *icon_name)
{
GtkWidget *widget;
GtkWidget *image;
image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_DIALOG);
- widget = g_object_new (WESTON_GTK_APP_ICON_TYPE,
+ widget = g_object_new (MAYNARD_APP_ICON_TYPE,
"image", image,
NULL);
@@ -47,13 +47,13 @@ weston_gtk_app_icon_new (const gchar *icon_name)
}
GtkWidget *
-weston_gtk_app_icon_new_from_gicon (GIcon *icon)
+maynard_app_icon_new_from_gicon (GIcon *icon)
{
GtkWidget *widget, *image;
image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG);
- widget = g_object_new (WESTON_GTK_APP_ICON_TYPE,
+ widget = g_object_new (MAYNARD_APP_ICON_TYPE,
"image", image,
NULL);