diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-04 14:16:33 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-04 14:16:33 +0800 |
commit | 5801d079852bd2e877d9511e4c3ea8083066c58c (patch) | |
tree | afafffc9c1c2fac6b5e18e737b9f762bb76c16c3 /shell | |
parent | f8bfbef0a705629ae2aefa71dc06b7d64fbd5274 (diff) | |
download | gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar.gz gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar.bz2 gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar.lz gsoc2013-evolution-5801d079852bd2e877d9511e4c3ea8083066c58c.tar.xz 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')
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-shortcut.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 2d392d1d88..53459c828c 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2000-05-04 Ettore Perazzoli <ettore@helixcode.com> + + * e-shortcut.c (shell_icon_cb): Type of @url changed from `gchar + *' to `const gchar *'; new arg @data. + (e_shortcut_bar_view_new): Pass NULL as the closure value for + `e_shortcut_bar_set_icon_callback()'. + 2000-05-02 Ettore Perazzoli <ettore@helixcode.com> * e-folder-mail.c: Removed. 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 (); |