summaryrefslogtreecommitdiff
path: root/gtk/gtkgrid.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2017-01-11 15:27:51 +0100
committerAlexander Larsson <alexl@redhat.com>2017-01-11 15:27:51 +0100
commit7bee22bcb6ad9a71bfcf8a38edc070a685a627a3 (patch)
treed45371aa865099f6b8184267b59fef6d03a2078b /gtk/gtkgrid.c
parent68a27a995160894c1075dcdc163382a1714f0db6 (diff)
downloadgtk+-7bee22bcb6ad9a71bfcf8a38edc070a685a627a3.tar.gz
Avoid some more type checks for internal calls
Diffstat (limited to 'gtk/gtkgrid.c')
-rw-r--r--gtk/gtkgrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 19a8ecf8be..4a9af16adb 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -1596,7 +1596,7 @@ gtk_grid_request_allocate_children (GtkGridRequest *request,
child_allocation.width = MAX (1, width);
child_allocation.height = MAX (1, height);
- if (gtk_widget_get_direction (GTK_WIDGET (request->grid)) == GTK_TEXT_DIR_RTL)
+ if (_gtk_widget_get_direction (GTK_WIDGET (request->grid)) == GTK_TEXT_DIR_RTL)
child_allocation.x = allocation->x + allocation->width
- (child_allocation.x - allocation->x) - child_allocation.width;