diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-09-02 21:50:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-09-02 21:50:47 +0200 |
commit | 7f32b549bfa332ea54f14136645fa1e3ae203023 (patch) | |
tree | f87e7573ae47bf3c290daf34b4e7e41ffa60596d /src | |
parent | 806cc7f2a9db10aaa0de5f0bb43d7b886cd37485 (diff) |
menu.c: feh_menu_entry_get_size: Remove unused parameter
Diffstat (limited to 'src')
-rw-r--r-- | src/menu.c | 4 | ||||
-rw-r--r-- | src/menu.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -564,7 +564,7 @@ feh_menu_item *feh_menu_add_entry(feh_menu * m, char *text, Imlib_Image icon, return(mi); } -void feh_menu_entry_get_size(feh_menu * m, feh_menu_item * i, int *w, int *h) +void feh_menu_entry_get_size(feh_menu_item * i, int *w, int *h) { int tw, th; @@ -594,7 +594,7 @@ void feh_menu_calc_size(feh_menu * m) for (i = m->items; i; i = i->next) { int w, h; - feh_menu_entry_get_size(m, i, &w, &h); + feh_menu_entry_get_size(i, &w, &h); if (w > max_w) max_w = w; if (h > max_h) @@ -136,7 +136,7 @@ feh_menu_item *feh_menu_add_entry(feh_menu * m, char *text, feh_menu_item *feh_menu_add_toggle_entry(feh_menu * m, char *text, Imlib_Image icon, char *submenu, int action, void *data, void (*func_free) (void *data), int setting); -void feh_menu_entry_get_size(feh_menu * m, feh_menu_item * i, int *w, int *h); +void feh_menu_entry_get_size(feh_menu_item * i, int *w, int *h); void feh_menu_calc_size(feh_menu * m); void feh_menu_draw_item(feh_menu_item * i, Imlib_Image im, int ox, int oy); void feh_menu_redraw(feh_menu * m); |