aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:07:23 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:07:23 +0800
commit04a042ee01dba30ba231c48ec7d172b6be1a6fca (patch)
tree080e3ad2fe16da7e3fb057e1baa0b3734a4e4d2f /widgets/table/e-table-config.c
parenta6c9a55391c484038a98f0326798949c52621c50 (diff)
downloadgsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.gz
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.zst
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.zip
Fix compiler warnings in widgets.
Diffstat (limited to 'widgets/table/e-table-config.c')
-rw-r--r--widgets/table/e-table-config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 510b5074f6..1c40798720 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -282,7 +282,7 @@ update_sort_and_group_config_dialog (ETableConfig *config, gboolean is_sort)
for (i = 0; i < 4; i++){
gboolean sensitive = (i <= count);
- char *text = "";
+ const gchar *text = "";
gtk_widget_set_sensitive (widgets [i].frames, sensitive);
@@ -619,7 +619,8 @@ create_global_store (ETableConfig *config)
}
}
-static char *spec = "<ETableSpecification gettext-domain=\"" GETTEXT_PACKAGE "\" no-headers=\"true\" cursor-mode=\"line\" "
+static const gchar *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\"/>"