aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.h
diff options
context:
space:
mode:
authormitchell <unknown>2020-03-27 14:01:45 -0400
committermitchell <unknown>2020-03-27 14:01:45 -0400
commit85de753ec1b1f9f636e8e061505785fd94847a53 (patch)
treed3dba1f0c60ad8f0d4b278c8ee812dc61a6916ad /gtk/ScintillaGTK.h
parent11a47fc9bb6ec03fcc4ddb1ed9be15512fa56675 (diff)
downloadscintilla-mirror-85de753ec1b1f9f636e8e061505785fd94847a53.tar.gz
Backport: Use dynamic_cast and assertion to make bugs more obvious.
Use noexcept, namespace, const, constexpr, and static inline where reasonable. Avoid warnings in initializations. Backport of changeset 8014:5e621040222d.
Diffstat (limited to 'gtk/ScintillaGTK.h')
-rwxr-xr-xgtk/ScintillaGTK.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h
index 516115acc..ed2513a3f 100755
--- a/gtk/ScintillaGTK.h
+++ b/gtk/ScintillaGTK.h
@@ -78,7 +78,7 @@ public:
ScintillaGTK &operator=(const ScintillaGTK &) = delete;
ScintillaGTK &operator=(ScintillaGTK &&) = delete;
virtual ~ScintillaGTK();
- static ScintillaGTK *FromWidget(GtkWidget *widget);
+ static ScintillaGTK *FromWidget(GtkWidget *widget) noexcept;
static void ClassInit(OBJECT_CLASS *object_class, GtkWidgetClass *widget_class, GtkContainerClass *container_class);
private:
void Init();