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-table-config.c | |
parent | be99f3db8925de2016528d50f32339a73fcd10c8 (diff) | |
download | gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar.gz gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar.bz2 gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar.lz gsoc2013-evolution-3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b.tar.xz 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-table-config.c')
-rw-r--r-- | widgets/table/e-table-config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index 3a4ae1dec0..9bada0a0cf 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -529,7 +529,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort) case GTK_RESPONSE_OK: g_object_unref (config->state); config->state = config->temp_state; - config->temp_state = 0; + config->temp_state = NULL; running = 0; config_dialog_changed (config); break; @@ -537,7 +537,7 @@ do_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort) case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: g_object_unref (config->temp_state); - config->temp_state = 0; + config->temp_state = NULL; running = 0; break; } @@ -573,7 +573,7 @@ do_fields_config_dialog (ETableConfig *config) case GTK_RESPONSE_OK: g_object_unref (config->state); config->state = config->temp_state; - config->temp_state = 0; + config->temp_state = NULL; running = 0; config_dialog_changed (config); break; @@ -581,7 +581,7 @@ do_fields_config_dialog (ETableConfig *config) case GTK_RESPONSE_DELETE_EVENT: case GTK_RESPONSE_CANCEL: g_object_unref (config->temp_state); - config->temp_state = 0; + config->temp_state = NULL; running = 0; break; } @@ -619,7 +619,7 @@ create_global_store (ETableConfig *config) } } -char *spec = "<ETableSpecification gettext-domain=\"" GETTEXT_PACKAGE "\" no-headers=\"true\" cursor-mode=\"line\" " +static char *spec = "<ETableSpecification gettext-domain=\"" GETTEXT_PACKAGE "\" no-headers=\"true\" cursor-mode=\"line\" " " draw-grid=\"false\" draw-focus=\"true\" selection-mode=\"browse\">" "<ETableColumn model_col= \"0\" _title=\"Name\" minimum_width=\"30\" resizable=\"true\" cell=\"string\" compare=\"string\"/>" "<ETableState> <column source=\"0\"/>" |