From f15c0d8790a491a0d0366c9d6fb774889ee0578b Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Mon, 9 Feb 2009 02:44:19 +0000 Subject: =?UTF-8?q?gcc=20warning=20cleanup=20warning:=20deprecated=20conve?= =?UTF-8?q?rsion=20from=20string=20constant=20to=20=E2=80=98char*=E2=80=99?= =?UTF-8?q?/'gchar*'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (bzr r7253) --- src/dialogs/swatches.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dialogs') 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 -- cgit v1.2.3