aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-31 20:35:06 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-31 20:35:06 +0800
commit82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd (patch)
treed6932e982346787d8d3b747b3849f57ac0805e52 /widgets/text/e-text.c
parent3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b (diff)
downloadgsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.gz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.bz2
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.lz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.xz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.zst
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.zip
text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch]
2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_local_offset), (get_local_timezone), (on_map_visibility_changed), (on_map_button_pressed), (get_zone_from_point), (e_timezone_dialog_set_timezone), (on_combo_changed): * menus/gal-view-factory.c: (gal_view_factory_get_title): * text/Makefile.am: * text/e-text.c: (e_text_event), (popup_targets_received), (next_word), (find_offset_into_line), (_get_position), (e_text_class_init): * text/e.entry.[ch] * text/e-completion.[ch] * text/e-text-model-uri.[ch] * text/e-completion-view.[ch] * text/e-completion-callbacks.[ch] * text/e-completion-match.[ch] * text/e-table-text-model.[ch]: Remove all of these. They are now unused. Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function declarations svn path=/trunk/; revision=34468
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r--widgets/text/e-text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index d4a18a6f9b..d76c608801 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -2199,7 +2199,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
gint return_val = 0;
if (!text->model)
- return FALSE;
+ return 0;
e_tep_event.type = event->type;
switch (event->type) {
@@ -2289,7 +2289,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
button->time = event->key.time;
button->button = 0;
e_text_do_popup (text, button, 0);
- return TRUE;
+ return 1;
}
/* Fall Through */
@@ -2387,7 +2387,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
if (text->handle_popup) {
e_text_do_popup (text, &(event->button),
get_position_from_xy (text, event->button.x, event->button.y));
- return TRUE;
+ return 1;
}
else {
break;