From 656384f771fb5f0b87c77e0de758f8fd3927d1d1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 15 Jun 2008 09:25:25 +0000 Subject: Casts to make recent gcc happy about string literals as gchar*. --- gtk/ScintillaGTK.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index e0858d3c6..cabc1f3f3 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -314,15 +314,15 @@ GdkAtom ScintillaGTK::atomUriList = 0; GdkAtom ScintillaGTK::atomDROPFILES_DND = 0; static const GtkTargetEntry clipboardCopyTargets[] = { - { "UTF8_STRING", 0, TARGET_UTF8_STRING }, - { "STRING", 0, TARGET_STRING }, + { (gchar *) "UTF8_STRING", 0, TARGET_UTF8_STRING }, + { (gchar *) "STRING", 0, TARGET_STRING }, }; static const gint nClipboardCopyTargets = sizeof(clipboardCopyTargets) / sizeof(clipboardCopyTargets[0]); static const GtkTargetEntry clipboardPasteTargets[] = { - { "text/uri-list", 0, TARGET_URI }, - { "UTF8_STRING", 0, TARGET_UTF8_STRING }, - { "STRING", 0, TARGET_STRING }, + { (gchar *) "text/uri-list", 0, TARGET_URI }, + { (gchar *) "UTF8_STRING", 0, TARGET_UTF8_STRING }, + { (gchar *) "STRING", 0, TARGET_STRING }, }; static const gint nClipboardPasteTargets = sizeof(clipboardPasteTargets) / sizeof(clipboardPasteTargets[0]); -- cgit v1.2.3