diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-11 06:53:41 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-11 06:53:41 +0800 |
commit | cc36af075b8badaf3b13377fc16ba53f38017980 (patch) | |
tree | 05706d91d4d46fd9d5f2be5be20547b77d8dcfdb | |
parent | 7cde7fac5c30fc7ba7823d9b8a6b135e99572fb2 (diff) | |
download | gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.tar gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.tar.gz gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.tar.bz2 gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.tar.lz gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.tar.xz gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.tar.zst gsoc2013-evolution-cc36af075b8badaf3b13377fc16ba53f38017980.zip |
Warning cleanup: `#if 0' an unused function and add a missing public
function prototype.
svn path=/trunk/; revision=4060
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-popup-menu.h | 10 | ||||
-rw-r--r-- | e-util/e-sexp.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-popup-menu.h | 10 |
4 files changed, 24 insertions, 5 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index f740d0e6d8..df65a59deb 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2000-07-10 Ettore Perazzoli <ettore@helixcode.com> + + * e-sexp.c (eval_dump_result): `#if 0'ed out. + + * e-popup-menu.h (e_popup_menu_create): New prototype. + 2000-07-10 Dan Winship <danw@helixcode.com> * e-html-utils.c: Fix warnings. diff --git a/e-util/e-popup-menu.h b/e-util/e-popup-menu.h index 400e6987b7..b911717424 100644 --- a/e-util/e-popup-menu.h +++ b/e-util/e-popup-menu.h @@ -10,7 +10,13 @@ typedef struct { int disable_mask; } EPopupMenu; -void e_popup_menu_run (EPopupMenu *menu_list, GdkEventButton *event, - int disable_mask, void *closure); +GtkMenu *e_popup_menu_create (EPopupMenu *menu_list, + int disable_mask, + void *closure); + +void e_popup_menu_run (EPopupMenu *menu_list, + GdkEventButton *event, + int disable_mask, + void *closure); #endif /* E_POPUP_MENU_H */ diff --git a/e-util/e-sexp.c b/e-util/e-sexp.c index 572f79929e..613f5f0c38 100644 --- a/e-util/e-sexp.c +++ b/e-util/e-sexp.c @@ -553,7 +553,7 @@ e_sexp_term_eval(struct _ESExp *f, struct _ESExpTerm *t) return r; } - +#if 0 static void eval_dump_result(ESExpResult *r, int depth) { @@ -586,6 +586,7 @@ eval_dump_result(ESExpResult *r, int depth) } printf("\n"); } +#endif static void parse_dump_term(struct _ESExpTerm *t, int depth) diff --git a/widgets/misc/e-popup-menu.h b/widgets/misc/e-popup-menu.h index 400e6987b7..b911717424 100644 --- a/widgets/misc/e-popup-menu.h +++ b/widgets/misc/e-popup-menu.h @@ -10,7 +10,13 @@ typedef struct { int disable_mask; } EPopupMenu; -void e_popup_menu_run (EPopupMenu *menu_list, GdkEventButton *event, - int disable_mask, void *closure); +GtkMenu *e_popup_menu_create (EPopupMenu *menu_list, + int disable_mask, + void *closure); + +void e_popup_menu_run (EPopupMenu *menu_list, + GdkEventButton *event, + int disable_mask, + void *closure); #endif /* E_POPUP_MENU_H */ |