From 5801d079852bd2e877d9511e4c3ea8083066c58c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 4 May 2000 06:16:33 +0000 Subject: 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 --- shell/e-shortcut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-shortcut.c') 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 (); -- cgit v1.2.3