aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-23 02:11:20 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-23 02:11:20 +0800
commit403518381b86a05c97e3c3b260754a0176f09c23 (patch)
treeb4b998ba312fc0a6edf08463b7f1cf01dee1a611
parent7b46c83f7317340694c49138420ecffe681a4516 (diff)
downloadgsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.tar
gsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.tar.gz
gsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.tar.bz2
gsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.tar.lz
gsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.tar.xz
gsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.tar.zst
gsoc2013-epiphany-403518381b86a05c97e3c3b260754a0176f09c23.zip
Initialise position passed to gtk_editable_insert_text().
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().
-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 61e6cf5ce..4fc6f446d 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 the 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));