summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-02-09 02:44:19 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2009-02-09 02:44:19 +0000
commitf15c0d8790a491a0d0366c9d6fb774889ee0578b (patch)
tree2dac04c43afa2bf4235ba73781b6d59a9808ad88 /src/dialogs
parentgcc warning cleanup (diff)
downloadinkscape-f15c0d8790a491a0d0366c9d6fb774889ee0578b.tar.gz
inkscape-f15c0d8790a491a0d0366c9d6fb774889ee0578b.zip
gcc warning cleanup
warning: deprecated conversion from string constant to ‘char*’/'gchar*' (bzr r7253)
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/swatches.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp
index 0d9daaf60..4b2976a62 100644
--- a/src/dialogs/swatches.cpp
+++ b/src/dialogs/swatches.cpp
@@ -102,11 +102,11 @@ typedef enum {
static const GtkTargetEntry sourceColorEntries[] = {
#if ENABLE_MAGIC_COLORS
-// {"application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
- {"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
+// {(gchar*) "application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
+ {(gchar*) "application/x-inkscape-color", 0, APP_X_INKY_COLOR},
#endif // ENABLE_MAGIC_COLORS
- {"application/x-color", 0, APP_X_COLOR},
- {"text/plain", 0, TEXT_DATA},
+ {(gchar*) "application/x-color", 0, APP_X_COLOR},
+ {(gchar*) "text/plain", 0, TEXT_DATA},
};
void ColorItem::_dragGetColorData( GtkWidget *widget,
@@ -349,10 +349,10 @@ static void dieDieDie( GtkObject *obj, gpointer user_data )
static const GtkTargetEntry destColorTargets[] = {
#if ENABLE_MAGIC_COLORS
-// {"application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
- {"application/x-inkscape-color", 0, APP_X_INKY_COLOR},
+// {(gchar*) "application/x-inkscape-color-id", GTK_TARGET_SAME_APP, APP_X_INKY_COLOR_ID},
+ {(gchar*) "application/x-inkscape-color", 0, APP_X_INKY_COLOR},
#endif // ENABLE_MAGIC_COLORS
- {"application/x-color", 0, APP_X_COLOR},
+ {(gchar*) "application/x-color", 0, APP_X_COLOR},
};
#include "color.h" // for SP_RGBA32_U_COMPOSE