summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-05-13 20:25:22 +0200
committerTimm Bäder <mail@baedert.org>2020-05-17 15:30:44 +0200
commita4bb81b61c55822afdb76a2bd4a43db65cfb6778 (patch)
tree87c35977e65363e3785ae4a35ce3d8d89af11c8a /gtk/gtkwidgetprivate.h
parent01c0acb707e2ac86b8b96a5cb077a94723b9a55e (diff)
downloadgtk+-a4bb81b61c55822afdb76a2bd4a43db65cfb6778.tar.gz
inspector: Apply toplevel transform before snapshotting overlays
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r--gtk/gtkwidgetprivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 6c0b1513fb..d06db43250 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -476,6 +476,12 @@ _gtk_widget_is_sensitive (GtkWidget *widget)
return !(widget->priv->state_flags & GTK_STATE_FLAG_INSENSITIVE);
}
+static inline GskTransform *
+gtk_widget_get_transform (GtkWidget *widget)
+{
+ return widget->priv->transform;
+}
+
G_END_DECLS
#endif /* __GTK_WIDGET_PRIVATE_H__ */