From 72daa2c6442573fcd0df1072f95cc411c9314511 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 23 Aug 2000 22:43:16 +0000 Subject: Constify. 2000-08-23 Federico Mena Quintero * e-dialog-widgets.c (e_dialog_editable_set): Constify. svn path=/trunk/; revision=4992 --- e-util/ChangeLog | 4 ++++ e-util/e-dialog-widgets.c | 2 +- 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 + + * e-dialog-widgets.c (e_dialog_editable_set): Constify. + 2000-08-22 Lauris Kaplinski * 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); -- cgit