diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2009-02-09 17:20:32 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2009-02-09 17:20:32 +0000 |
| commit | b71b2b5ce57617c404bbbaa9b0226bffd080df5d (patch) | |
| tree | efc941a6e3a8e9d12c8b0c22ce31ea3db31b4505 /src/ui/widget/selected-style.cpp | |
| parent | gcc warning cleanup (diff) | |
| download | inkscape-b71b2b5ce57617c404bbbaa9b0226bffd080df5d.tar.gz inkscape-b71b2b5ce57617c404bbbaa9b0226bffd080df5d.zip | |
adding comments/TODOs and/or reverting some of the things done in r20655
due to JonCruz considerations about the proper way of doing it.
(bzr r7254)
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index 90ef79b92..9a5364874 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -86,8 +86,14 @@ typedef enum { APP_X_COLOR } ui_drop_target_info; +//TODO: warning: deprecated conversion from string constant to ‘gchar*’ +// +//Turn out to be warnings that we should probably leave in place. The +// pointers/types used need to be read-only. So until we correct the using +// code, those warnings are actually desired. They say "Hey! Fix this". We +// definitely don't want to hide/ignore them. --JonCruz static GtkTargetEntry ui_drop_target_entries [] = { - {(gchar*) "application/x-color", 0, APP_X_COLOR} + {"application/x-color", 0, APP_X_COLOR} }; #define ENTRIES_SIZE(n) sizeof(n)/sizeof(n[0]) |
