* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
#ifndef __G_SHEET_MODEL_H__
#define __G_SHEET_MODEL_H__
{
GTypeInterface g_iface;
+ gboolean free_strings;
+
/* Signals */
void (* range_changed) (GSheetModel *sheet_model,
gint row0, gint col0,
gint row, gint n_rows);
-
/* Virtual Table */
- const gchar * (* get_string) (const GSheetModel *sheet_model,
+
+ gchar * (* get_string) (const GSheetModel *sheet_model,
gint row, gint column);
gboolean (* set_string) (GSheetModel *sheet_model,
GType g_sheet_model_get_type (void) G_GNUC_CONST;
-inline const gchar * g_sheet_model_get_string (const GSheetModel *sheet_model,
+inline gchar * g_sheet_model_get_string (const GSheetModel *sheet_model,
gint row, gint column);
inline gboolean g_sheet_model_set_string (GSheetModel *sheet_model,
inline const GtkSheetCellBorder * g_sheet_model_get_cell_border
(const GSheetModel *model, gint row, gint column);
+inline gboolean g_sheet_model_free_strings (const GSheetModel *sheet_model);