[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[datasets 04/18] gui: Fix const-ness warning in create_lines_tree_view()
From: |
Ben Pfaff |
Subject: |
[datasets 04/18] gui: Fix const-ness warning in create_lines_tree_view(). |
Date: |
Sat, 30 Apr 2011 22:36:32 -0700 |
This fixes this warning from GCC:
src/ui/gui/text-data-import-dialog.c: In function ‘create_lines_tree_view’:
src/ui/gui/text-data-import-dialog.c:875: warning: initialization
discards qualifiers from pointer target type
---
src/ui/gui/text-data-import-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ui/gui/text-data-import-dialog.c
b/src/ui/gui/text-data-import-dialog.c
index 8579ccc..6cc4bee 100644
--- a/src/ui/gui/text-data-import-dialog.c
+++ b/src/ui/gui/text-data-import-dialog.c
@@ -872,7 +872,7 @@ create_lines_tree_view (GtkContainer *parent, struct
import_assistant *ia)
size_t max_line_length;
gint content_width, header_width;
size_t i;
- gchar *title = _("Text");
+ const gchar *title = _("Text");
make_tree_view (ia, 0, &tree_view);
--
1.7.2.5
- Re: [datasets 10/18] gui: Prefer NULL to 0 for initializing pointers., (continued)
- [datasets 18/18] gui: Change View|Data and View|Variables to radio button menu items., Ben Pfaff, 2011/05/01
- [datasets 15/18] gui: New "entry-dialog" module for prompting for a text string., Ben Pfaff, 2011/05/01
- [datasets 12/18] gui: Eliminate dataset-related global variables., Ben Pfaff, 2011/05/01
- [datasets 11/18] gui: Make syntax execution functions take a PsppireDataWindow argument., Ben Pfaff, 2011/05/01
- [datasets 04/18] gui: Fix const-ness warning in create_lines_tree_view().,
Ben Pfaff <=
- [datasets 05/18] gui: Drop null base_finalize function from PsppireDataWindow., Ben Pfaff, 2011/05/01