From 403518381b86a05c97e3c3b260754a0176f09c23 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 22 Sep 2004 18:11:20 +0000 Subject: Initialise position passed to gtk_editable_insert_text(). 2004-09-22 Christian Persch * lib/ephy-dialog.c: (set_editable_from_value): Initialise position passed to gtk_editable_insert_text(). --- ChangeLog | 6 ++++++ lib/ephy-dialog.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 61e6cf5ce..4fc6f446d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-22 Christian Persch + + * lib/ephy-dialog.c: (set_editable_from_value): + + Initialise position passed to gtk_editable_insert_text(). + 2004-09-22 Christian Persch * embed/ephy-download.c: (update_remaining_time): 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)); -- cgit v1.2.3