aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-table-text-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-20 11:25:48 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-20 11:25:48 +0800
commit58eeaa097722114c9e6bf06cda6351692f0925de (patch)
treee851751e67d2eca479b6ed9d67b2c2ffa375dd34 /widgets/text/e-table-text-model.c
parentac1b347939cfb28beb56451c3a19c2b752ef3a8f (diff)
downloadgsoc2013-evolution-58eeaa097722114c9e6bf06cda6351692f0925de.tar.gz
gsoc2013-evolution-58eeaa097722114c9e6bf06cda6351692f0925de.tar.zst
gsoc2013-evolution-58eeaa097722114c9e6bf06cda6351692f0925de.zip
Changed the version number to 0.5.99.1.
2001-02-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the version number to 0.5.99.1. * gal/Makefile.am (libgal_la_LIBADD): Change the directories for e-table-text-model.lo, e-text-event-processor.lo, and e-text-event-processor-emacs-like.lo. Reordered the e-text directory to be after the e-table directory in build order. * gal/e-text/Makefile.am: Removed e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h, e-text-event-processor.c, and e-text-event-processor.h. Added e-table-text-model.c and e-table-text-model.h. * gal/e-text/e-table-text-model.c: Changed the signature of these mehtods to match the changed signature in ETextModel. * gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor-types.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h: Moved these to gal/util/. * gal/e-text/e-text.c, gal/e-text/e-text.h: Changed the includes to match the moved files. * gal/util/Makefile.am: Added e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h, e-text-event-processor.c, and e-text-event-processor.h. * gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor.h: Changed the includes to match the moved files. 2001-02-19 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Removed e-table-text-model.c and e-table-text-model.h. * e-table-text-model.c, e-table-text-model.h: Moved these to gal/e-text/. * e-cell-text.c: Changed the include line for e-text-event-processor.h and e-text-event-processor-emacs-like.h. svn path=/trunk/; revision=8298
Diffstat (limited to 'widgets/text/e-table-text-model.c')
-rw-r--r--widgets/text/e-table-text-model.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/text/e-table-text-model.c b/widgets/text/e-table-text-model.c
index 1569ce4af7..7320c48e36 100644
--- a/widgets/text/e-table-text-model.c
+++ b/widgets/text/e-table-text-model.c
@@ -24,10 +24,10 @@ static void e_table_text_model_class_init (ETableTextModelClass *class);
static void e_table_text_model_init (ETableTextModel *model);
static void e_table_text_model_destroy (GtkObject *object);
-static gchar *e_table_text_model_get_text (ETextModel *model);
-static void e_table_text_model_set_text (ETextModel *model, gchar *text);
-static void e_table_text_model_insert (ETextModel *model, gint postion, gchar *text);
-static void e_table_text_model_insert_length (ETextModel *model, gint postion, gchar *text, gint length);
+static const gchar *e_table_text_model_get_text (ETextModel *model);
+static void e_table_text_model_set_text (ETextModel *model, const gchar *text);
+static void e_table_text_model_insert (ETextModel *model, gint postion, const gchar *text);
+static void e_table_text_model_insert_length (ETextModel *model, gint postion, const gchar *text, gint length);
static void e_table_text_model_delete (ETextModel *model, gint postion, gint length);
static GtkObject *parent_class;
@@ -126,7 +126,7 @@ e_table_text_model_destroy (GtkObject *object)
if (GTK_OBJECT_CLASS (parent_class)->destroy)
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
-static gchar *
+static const gchar *
e_table_text_model_get_text (ETextModel *text_model)
{
ETableTextModel *model = E_TABLE_TEXT_MODEL(text_model);
@@ -137,7 +137,7 @@ e_table_text_model_get_text (ETextModel *text_model)
}
static void
-e_table_text_model_set_text (ETextModel *text_model, gchar *text)
+e_table_text_model_set_text (ETextModel *text_model, const gchar *text)
{
ETableTextModel *model = E_TABLE_TEXT_MODEL(text_model);
if (model->model)
@@ -145,7 +145,7 @@ e_table_text_model_set_text (ETextModel *text_model, gchar *text)
}
static void
-e_table_text_model_insert (ETextModel *text_model, gint position, gchar *text)
+e_table_text_model_insert (ETextModel *text_model, gint position, const gchar *text)
{
ETableTextModel *model = E_TABLE_TEXT_MODEL(text_model);
if (model->model){
@@ -157,7 +157,7 @@ e_table_text_model_insert (ETextModel *text_model, gint position, gchar *text)
}
static void
-e_table_text_model_insert_length (ETextModel *text_model, gint position, gchar *text, gint length)
+e_table_text_model_insert_length (ETextModel *text_model, gint position, const gchar *text, gint length)
{
ETableTextModel *model = E_TABLE_TEXT_MODEL(text_model);
if (model->model){