diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-10-22 10:08:13 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-10-22 10:08:13 +0800 |
commit | 3e3b5fc7b8cfb5bc15d2c43672f7021173f18854 (patch) | |
tree | eb2229bfd26c5b4001f6fa626935f7f87cb4305a /widgets/table/e-table.c | |
parent | b00d886cf875101c4e4a4ddcf381bd10138af1c0 (diff) | |
download | gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.tar gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.tar.gz gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.tar.bz2 gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.tar.lz gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.tar.xz gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.tar.zst gsoc2013-evolution-3e3b5fc7b8cfb5bc15d2c43672f7021173f18854.zip |
Added e_table_set_state_object which loads the state from the given
2000-10-20 Christopher James Lahey <clahey@helixcode.com>
* e-table.c, e-table.h: Added e_table_set_state_object which loads
the state from the given ETableState object.
svn path=/trunk/; revision=6099
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r-- | widgets/table/e-table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 2abd24328a..88e305b88d 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -721,8 +721,8 @@ et_state_to_header (ETable *e_table, ETableHeader *full_header, ETableState *sta return nh; } -static void -et_set_state(ETable *e_table, ETableState *state) +void +e_table_set_state_object(ETable *e_table, ETableState *state) { if (e_table->header) gtk_object_unref(GTK_OBJECT(e_table->header)); @@ -764,7 +764,7 @@ void e_table_set_state (ETable *e_table e_table_state_load_from_string(state, state_str); if (state->col_count > 0) - et_set_state(e_table, state); + e_table_set_state_object(e_table, state); gtk_object_sink(GTK_OBJECT(state)); } @@ -782,7 +782,7 @@ void e_table_load_state (ETable *e_table e_table_state_load_from_file(state, filename); if (state->col_count > 0) - et_set_state(e_table, state); + e_table_set_state_object(e_table, state); gtk_object_sink(GTK_OBJECT(state)); } |