aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.h
diff options
context:
space:
mode:
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 7c9b165cb..126072856 100755
--- a/gtk/ScintillaGTK.h
+++ b/gtk/ScintillaGTK.h
@@ -293,7 +293,7 @@ private:
class GObjectWatcher {
GObject *weakRef;
- void WeakNotifyThis(GObject *obj G_GNUC_UNUSED) {
+ void WeakNotifyThis([[maybe_unused]] GObject *obj) {
PLATFORM_ASSERT(obj == weakRef);
Destroyed();