aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/shortcut-bar/e-shortcut-bar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-04 15:09:53 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-04 15:09:53 +0800
commit91310499b326bafc8da96814e2e7cdde441c539b (patch)
treea8e4dfa93eebc24e599c6ccbd39764c335c872d9 /widgets/shortcut-bar/e-shortcut-bar.c
parente6f93efbadf410e6c9dcd9b4326562b27a8cfef0 (diff)
downloadgsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.tar
gsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.tar.gz
gsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.tar.bz2
gsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.tar.lz
gsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.tar.xz
gsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.tar.zst
gsoc2013-evolution-91310499b326bafc8da96814e2e7cdde441c539b.zip
EIconBar/EShortcutBar constification.
svn path=/trunk/; revision=2792
Diffstat (limited to 'widgets/shortcut-bar/e-shortcut-bar.c')
-rw-r--r--widgets/shortcut-bar/e-shortcut-bar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/shortcut-bar/e-shortcut-bar.c b/widgets/shortcut-bar/e-shortcut-bar.c
index e07e840f53..89c5ef7468 100644
--- a/widgets/shortcut-bar/e-shortcut-bar.c
+++ b/widgets/shortcut-bar/e-shortcut-bar.c
@@ -84,8 +84,8 @@ static void e_shortcut_bar_on_drag_end (GtkWidget *widget,
static void e_shortcut_bar_stop_editing (GtkWidget *button,
EShortcutBar *shortcut_bar);
static GdkPixbuf* e_shortcut_bar_get_image_from_url (EShortcutBar *shortcut_bar,
- gchar *item_url);
-static GdkPixbuf* e_shortcut_bar_load_image (gchar *filename);
+ const gchar *item_url);
+static GdkPixbuf* e_shortcut_bar_load_image (const gchar *filename);
enum
@@ -188,7 +188,7 @@ e_shortcut_bar_destroy (GtkObject *object)
gint
-e_shortcut_bar_add_group (EShortcutBar *shortcut_bar, gchar *group_name)
+e_shortcut_bar_add_group (EShortcutBar *shortcut_bar, const gchar *group_name)
{
EShortcutBarGroup *group, tmp_group;
gint group_num;
@@ -280,7 +280,7 @@ e_shortcut_bar_remove_group (EShortcutBar *shortcut_bar,
gint
e_shortcut_bar_add_item (EShortcutBar *shortcut_bar, gint group_num,
- gchar *item_url, gchar *item_name)
+ const gchar *item_url, const gchar *item_name)
{
EShortcutBarGroup *group;
GdkPixbuf *image;
@@ -546,7 +546,7 @@ e_shortcut_bar_set_icon_callback (EShortcutBar *shortcut_bar,
static GdkPixbuf *
e_shortcut_bar_get_image_from_url (EShortcutBar *shortcut_bar,
- gchar *item_url)
+ const gchar *item_url)
{
GdkPixbuf *icon = NULL;
@@ -568,7 +568,7 @@ e_shortcut_bar_get_image_from_url (EShortcutBar *shortcut_bar,
static GdkPixbuf *
-e_shortcut_bar_load_image (gchar *filename)
+e_shortcut_bar_load_image (const gchar *filename)
{
gchar *pathname;
GdkPixbuf *image = NULL;