summaryrefslogtreecommitdiff
path: root/shell/app-icon.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2014-03-05 13:08:13 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2014-03-05 13:08:13 +0100
commit98726a2757f048cc510b186969883816725a5708 (patch)
tree65e756cf1e5e80e100a408dfe6e9f7b152030ee5 /shell/app-icon.c
parent0fdc7d88d3b38972b8d2242c981a6e09da4647a3 (diff)
downloadgraynard-98726a2757f048cc510b186969883816725a5708.tar.gz
graynard-98726a2757f048cc510b186969883816725a5708.zip
shell: rename widgets to reflect project rename
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);