From b71b2b5ce57617c404bbbaa9b0226bffd080df5d Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Mon, 9 Feb 2009 17:20:32 +0000 Subject: 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) --- src/ui/widget/selected-style.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/ui/widget/selected-style.cpp') 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]) -- cgit v1.2.3