aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-08-24 06:43:16 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-08-24 06:43:16 +0800
commit72daa2c6442573fcd0df1072f95cc411c9314511 (patch)
tree52420a344c08f8e0770d59f80c41ce6b1056451a
parent703511b4a899a4f3d7071b9930abf9319620555a (diff)
downloadgsoc2013-evolution-72daa2c6442573fcd0df1072f95cc411c9314511.tar.gz
gsoc2013-evolution-72daa2c6442573fcd0df1072f95cc411c9314511.tar.zst
gsoc2013-evolution-72daa2c6442573fcd0df1072f95cc411c9314511.zip
Constify.
2000-08-23 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_set): Constify. svn path=/trunk/; revision=4992
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-dialog-widgets.c2
-rw-r--r--e-util/e-dialog-widgets.h2
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);