summaryrefslogtreecommitdiff
path: root/gtk/gtktextlayout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r--gtk/gtktextlayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 3fab37d269..0c4db57c04 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -1821,7 +1821,7 @@ allocate_child_widgets (GtkTextLayout *text_layout,
/* shaped_object is NULL for child anchors with no
* widgets stored at them
*/
- if (shaped_object && GTK_IS_WIDGET (shaped_object))
+ if (GTK_IS_WIDGET (shaped_object))
{
PangoRectangle extents;