aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-06-15 09:25:25 +0000
committernyamatongwe <devnull@localhost>2008-06-15 09:25:25 +0000
commit656384f771fb5f0b87c77e0de758f8fd3927d1d1 (patch)
tree376d584abfd44d6501a764b62b897aa1c499eb93
parent11d0bb4236b3cc7b4b2da1abffc0d454b5613a06 (diff)
downloadscintilla-mirror-656384f771fb5f0b87c77e0de758f8fd3927d1d1.tar.gz
Casts to make recent gcc happy about string literals as gchar*.
-rw-r--r--gtk/ScintillaGTK.cxx10
1 files changed, 5 insertions, 5 deletions
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]);