aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-dialog.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7924efe36..38d0c6340 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-09-22 Christian Persch <chpe@cvs.gnome.org>
+ * lib/ephy-dialog.c: (set_editable_from_value):
+
+ Initialise position passed to gtk_editable_insert_text().
+
+2004-09-22 Christian Persch <chpe@cvs.gnome.org>
+
* embed/ephy-download.c: (update_remaining_time):
Fix build.
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index f66139266..23bf95dd0 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -465,7 +465,7 @@ static void
set_editable_from_value (PropertyInfo *info, const GValue *value)
{
char *text = NULL;
- int pos;
+ int pos = 0; /* insertion position */
g_return_if_fail (GTK_IS_EDITABLE (info->widget));