aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-05-22 14:08:35 +1000
committerNeil <nyamatongwe@gmail.com>2020-05-22 14:08:35 +1000
commit418d59d9256319728d92fafd0ec31a341e144d7c (patch)
treeef3552479a954f1601ad5fddaae56ac4723c6987 /gtk/ScintillaGTK.h
parent9109163990c070bd1ab8aa401c971fc52be9a9ab (diff)
downloadscintilla-mirror-418d59d9256319728d92fafd0ec31a341e144d7c.tar.gz
Backport: Hoist repeated test for string selection types into static method.
Backport of changeset 8249:32db419568c5.
Diffstat (limited to 'gtk/ScintillaGTK.h')
-rwxr-xr-xgtk/ScintillaGTK.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h
index 2d4b4830d..e8c61f85f 100755
--- a/gtk/ScintillaGTK.h
+++ b/gtk/ScintillaGTK.h
@@ -134,6 +134,7 @@ private:
void AddToPopUp(const char *label, int cmd = 0, bool enabled = true) override;
bool OwnPrimarySelection();
void ClaimSelection() override;
+ static bool IsStringAtom(GdkAtom type);
void GetGtkSelectionText(GtkSelectionData *selectionData, SelectionText &selText);
void InsertSelection(GtkClipboard *clipBoard, GtkSelectionData *selectionData);
public: // Public for SelectionReceiver