diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2007-10-31 20:30:51 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2007-10-31 20:30:51 +0800 |
commit | 3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b (patch) | |
tree | ef09c52f04ea71b076bdf21d6ed9f6c2ea2d5d0a /widgets/table/e-cell-text.c | |
parent | be99f3db8925de2016528d50f32339a73fcd10c8 (diff) | |
download | gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar.gz gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar.zst gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.zip |
Warning fixes: - NULL vs. 0 vs. FALSE - Mark som code static
2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
* e-cell-text.c: (ect_event), (_blink_scroll_timeout):
* e-table-config.c: (do_sort_and_group_config_dialog),
(do_fields_config_dialog):
* e-table-group-container.c: (etgc_add_array),
(etgc_get_focus_column), (etgc_get_cell_geometry),
(etgc_set_property), (etgc_get_property), (etgc_class_init),
(etgc_reflow), (etgc_init), (e_table_group_container_print_page),
(e_table_group_container_height):
* e-table-group.c: (e_table_group_get_focus_column):
* e-table-header.c: (e_table_header_get_columns), (eth_set_size):
* e-table-item.c: (eti_tree_unfreeze), (eti_draw), (find_cell),
(_do_tooltip), (eti_event), (e_table_item_height):
* e-table-memory-store.c: (etms_initialize_value),
(etms_value_is_empty):
* e-tree-model.c: (e_tree_model_new), (e_tree_model_node_find):
Warning fixes:
- NULL vs. 0 vs. FALSE
- Mark som code static
svn path=/trunk/; revision=34467
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r-- | widgets/table/e-cell-text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index d7e6d84941..f89e34ec0b 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -922,7 +922,7 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, return 0; if ( edit && !edit->preedit_length && flags & E_CELL_PREEDIT) - return TRUE; + return 1; if (edit && edit->view_col == view_col && edit->row == row) { edit_display = TRUE; @@ -988,9 +988,9 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, edit->need_im_reset = TRUE; if (preedit_len && flags & E_CELL_PREEDIT) - return FALSE; + return 0; else - return TRUE; + return 1; } if (event->key.keyval == GDK_Escape){ |