diff options
author | Miguel de Icaza <miguel@gnu.org> | 2001-01-16 07:25:42 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2001-01-16 07:25:42 +0800 |
commit | feccdbccfbf9fa1c4d2f8b4d50da3a764d475089 (patch) | |
tree | 3363907f161a30cf7ea9160e288c529396559d6d /widgets/table/e-table-specification.h | |
parent | c152134378a6567dd69d6570017fc2ab1cb37f52 (diff) | |
download | gsoc2013-evolution-feccdbccfbf9fa1c4d2f8b4d50da3a764d475089.tar.gz gsoc2013-evolution-feccdbccfbf9fa1c4d2f8b4d50da3a764d475089.tar.zst gsoc2013-evolution-feccdbccfbf9fa1c4d2f8b4d50da3a764d475089.zip |
Document all entry points. (e_table_specification_save_to_file): Change
2001-01-15 Miguel de Icaza <miguel@gnu.org>
* e-table-specification.c: Document all entry points.
(e_table_specification_save_to_file): Change prototype to return
the number of bytes written.
(e_table_specification_duplicate):
Implement a function to duplicate nodes.
(e_table_specification_save_to_node): Implement missing function.
(e_table_specification_save_to_file): Enable.
(e_table_specification_save_to_string): Enable.
(e_table_specification_load_from_node): Just load the normal
version of the click-to-add-message version, let other code
translate it.
(e_table_specification_load_from_string): Alter prototype to
return success code.
* e-table-specification.h: Do not store the translated version,
store the plain version, so we can restore this later during the
saving routines.
* e-table.c (et_real_construct): Translate click to add message here.
* e-table-header-item.c: Destroy config object if we are
destroyed.
svn path=/trunk/; revision=7518
Diffstat (limited to 'widgets/table/e-table-specification.h')
-rw-r--r-- | widgets/table/e-table-specification.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-specification.h b/widgets/table/e-table-specification.h index 64e784733a..3434c51088 100644 --- a/widgets/table/e-table-specification.h +++ b/widgets/table/e-table-specification.h @@ -25,7 +25,8 @@ typedef struct { guint draw_grid : 1; GtkSelectionMode selection_mode; ETableCursorMode cursor_mode; - char *click_to_add_message_; + + char *click_to_add_message; } ETableSpecification; typedef struct { @@ -37,17 +38,16 @@ ETableSpecification *e_table_specification_new (void); gboolean e_table_specification_load_from_file (ETableSpecification *specification, const char *filename); -void e_table_specification_load_from_string (ETableSpecification *specification, +gboolean e_table_specification_load_from_string (ETableSpecification *specification, const char *xml); void e_table_specification_load_from_node (ETableSpecification *specification, const xmlNode *node); -#if 0 -void e_table_specification_save_to_file (ETableSpecification *specification, +int e_table_specification_save_to_file (ETableSpecification *specification, const char *filename); char *e_table_specification_save_to_string (ETableSpecification *specification); xmlNode *e_table_specification_save_to_node (ETableSpecification *specification, xmlDoc *doc); -#endif +ETableSpecification *e_table_specification_duplicate (ETableSpecification *spec); #endif /* _E_TABLE_SPECIFICATION_H_ */ |