diff options
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-popup-menu.h | 8 | ||||
-rw-r--r-- | widgets/misc/e-popup-menu.h | 8 |
3 files changed, 14 insertions, 8 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ddec5e90a4..2c1e3a902a 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2000-09-08 Dan Winship <danw@helixcode.com> + + * e-popup-menu.h: remove consts from the EPopupMenu structure: the + caller may want to modify its own EPopupMenu before calling + e_popup_menu_run. + 2000-09-07 Lauris Kaplinski <lauris@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_get): Use UTF-8 diff --git a/e-util/e-popup-menu.h b/e-util/e-popup-menu.h index ed54a632a5..7039d59835 100644 --- a/e-util/e-popup-menu.h +++ b/e-util/e-popup-menu.h @@ -5,10 +5,10 @@ #include <gtk/gtkwidget.h> typedef struct { - char const * const name; - char const * const pixname; - void (*fn)(GtkWidget *widget, void *closure); - int disable_mask; + char *name; + char *pixname; + void (*fn) (GtkWidget *widget, void *closure); + int disable_mask; } EPopupMenu; GtkMenu *e_popup_menu_create (EPopupMenu *menu_list, diff --git a/widgets/misc/e-popup-menu.h b/widgets/misc/e-popup-menu.h index ed54a632a5..7039d59835 100644 --- a/widgets/misc/e-popup-menu.h +++ b/widgets/misc/e-popup-menu.h @@ -5,10 +5,10 @@ #include <gtk/gtkwidget.h> typedef struct { - char const * const name; - char const * const pixname; - void (*fn)(GtkWidget *widget, void *closure); - int disable_mask; + char *name; + char *pixname; + void (*fn) (GtkWidget *widget, void *closure); + int disable_mask; } EPopupMenu; GtkMenu *e_popup_menu_create (EPopupMenu *menu_list, |