summaryrefslogtreecommitdiff
path: root/gtk/gtksizerequest.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-04-21 17:04:41 +0200
committerTimm Bäder <mail@baedert.org>2018-04-21 19:06:21 +0200
commit1313234ae06fcf76e1721a4852b753fe7648a2f1 (patch)
treebde6c8f7b821fdef2cb2e27e843cb7654e65220d /gtk/gtksizerequest.c
parentc3e02b2b22bf592d84753790713de883d2de543a (diff)
downloadgtk+-1313234ae06fcf76e1721a4852b753fe7648a2f1.tar.gz
Use inlined gtk_widget_get_display version in a few places
We can safely do this whenever we already made sure that the given pointer is a valid GtkWidget.
Diffstat (limited to 'gtk/gtksizerequest.c')
-rw-r--r--gtk/gtksizerequest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c
index bbd9261224..b53acffb3e 100644
--- a/gtk/gtksizerequest.c
+++ b/gtk/gtksizerequest.c
@@ -350,7 +350,7 @@ gtk_widget_query_size_for_orientation (GtkWidget *widget,
g_assert (min_size <= nat_size);
- GTK_DISPLAY_NOTE (gtk_widget_get_display (widget), SIZE_REQUEST, {
+ GTK_DISPLAY_NOTE (_gtk_widget_get_display (widget), SIZE_REQUEST, {
GString *s;
s = g_string_new ("");