aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcut.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-04 14:16:33 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-04 14:16:33 +0800
commit5801d079852bd2e877d9511e4c3ea8083066c58c (patch)
treeafafffc9c1c2fac6b5e18e737b9f762bb76c16c3 /shell/e-shortcut.c
parentf8bfbef0a705629ae2aefa71dc06b7d64fbd5274 (diff)
downloadgsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar.gz
gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar.zst
gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.zip
Fixed EShortcutBar API: the icon callback function now gets a `const
char *' url (instead of just a `char *') and a closure. svn path=/trunk/; revision=2790
Diffstat (limited to 'shell/e-shortcut.c')
-rw-r--r--shell/e-shortcut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shortcut.c b/shell/e-shortcut.c
index d066394049..ed09abe932 100644
--- a/shell/e-shortcut.c
+++ b/shell/e-shortcut.c
@@ -360,7 +360,7 @@ static struct {
#define NSHELL_ICONS (sizeof (shell_icons) / sizeof (shell_icons[0]))
static GdkPixbuf *
-shell_icon_cb (EShortcutBar *shortcut_bar, gchar *url)
+shell_icon_cb (EShortcutBar *shortcut_bar, const gchar *url, gpointer data)
{
int i;
@@ -402,7 +402,7 @@ e_shortcut_bar_view_new (EShortcutBarModel *bm)
shortcut_bar = e_shortcut_bar_new ();
e_shortcut_bar_set_icon_callback (E_SHORTCUT_BAR (shortcut_bar),
- shell_icon_cb);
+ shell_icon_cb, NULL);
gtk_widget_pop_visual ();
gtk_widget_pop_colormap ();