diff options
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-dialog-widgets.c | 2 | ||||
-rw-r--r-- | e-util/e-dialog-widgets.h | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 837a080fb3..e3b81f816e 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2000-08-23 Federico Mena Quintero <federico@helixcode.com> + + * e-dialog-widgets.c (e_dialog_editable_set): Constify. + 2000-08-22 Lauris Kaplinski <lauris@helixcode.com> * e-unicode.h: diff --git a/e-util/e-dialog-widgets.c b/e-util/e-dialog-widgets.c index 19c698af02..fd1b929c9f 100644 --- a/e-util/e-dialog-widgets.c +++ b/e-util/e-dialog-widgets.c @@ -340,7 +340,7 @@ get_editable_value (GtkEditable *editable, gpointer value_var, gpointer data) * Sets the string value inside a #GtkEditable-derived widget. **/ void -e_dialog_editable_set (GtkWidget *widget, char *value) +e_dialog_editable_set (GtkWidget *widget, const char *value) { g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_EDITABLE (widget)); diff --git a/e-util/e-dialog-widgets.h b/e-util/e-dialog-widgets.h index cbcdd1c8f1..7ace238d1f 100644 --- a/e-util/e-dialog-widgets.h +++ b/e-util/e-dialog-widgets.h @@ -28,7 +28,7 @@ -void e_dialog_editable_set (GtkWidget *widget, char *value); +void e_dialog_editable_set (GtkWidget *widget, const char *value); char *e_dialog_editable_get (GtkWidget *widget); void e_dialog_radio_set (GtkWidget *widget, int value, const int *value_map); |