aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-entry.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2000-12-26 06:06:45 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-12-26 06:06:45 +0800
commitb3e9bc2921eacac30e81406bab99ee8fe8e74c26 (patch)
treecc8bfad16c574f8e673547c682fe5f59cc72227a /widgets/text/e-entry.c
parente2ba388ffd13d05f62f694a98b23658e64683667 (diff)
downloadgsoc2013-evolution-b3e9bc2921eacac30e81406bab99ee8fe8e74c26.tar.gz
gsoc2013-evolution-b3e9bc2921eacac30e81406bab99ee8fe8e74c26.tar.zst
gsoc2013-evolution-b3e9bc2921eacac30e81406bab99ee8fe8e74c26.zip
Always have some text. Fixes crash.
2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_init): Always have some text. Fixes crash. svn path=/trunk/; revision=7171
Diffstat (limited to 'widgets/text/e-entry.c')
-rw-r--r--widgets/text/e-entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c
index 0ae2803744..bbf65c76ff 100644
--- a/widgets/text/e-entry.c
+++ b/widgets/text/e-entry.c
@@ -105,9 +105,9 @@ canvas_size_request (GtkWidget *widget, GtkRequisition *requisition,
static gint
canvas_focus_in_event (GtkWidget *widget, GdkEventFocus *focus, EEntry *e_entry)
{
- if (e_entry->canvas->focused_item != GNOME_CANVAS_ITEM(e_entry->item)) {
+ if (e_entry->canvas->focused_item != GNOME_CANVAS_ITEM(e_entry->item))
gnome_canvas_item_grab_focus(GNOME_CANVAS_ITEM(e_entry->item));
- }
+
return 0;
}