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
commit33bf352561ade2999ebfbec6fee19b5d505730b7 (patch)
tree846353560918cf1830e9b2606a8368202a3901de /gtk/ScintillaGTK.h
parentf354df9315c11abd837db480f96d4b00ea40ccc0 (diff)
downloadscintilla-mirror-33bf352561ade2999ebfbec6fee19b5d505730b7.tar.gz
Hoist repeated test for string selection types into static method.
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 2d948d71e..d83082517 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