diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-05-22 14:08:35 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-05-22 14:08:35 +1000 |
| commit | 33bf352561ade2999ebfbec6fee19b5d505730b7 (patch) | |
| tree | 846353560918cf1830e9b2606a8368202a3901de /gtk/ScintillaGTK.h | |
| parent | f354df9315c11abd837db480f96d4b00ea40ccc0 (diff) | |
| download | scintilla-mirror-33bf352561ade2999ebfbec6fee19b5d505730b7.tar.gz | |
Hoist repeated test for string selection types into static method.
Diffstat (limited to 'gtk/ScintillaGTK.h')
| -rwxr-xr-x | gtk/ScintillaGTK.h | 1 |
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 |
