widget: Avoid an unnecessary check
authorMohammed Sadiq <sadiq@sadiqpk.org>
Fri, 11 May 2018 01:39:45 +0000 (07:09 +0530)
committerMohammed Sadiq <sadiq@sadiqpk.org>
Fri, 11 May 2018 10:39:38 +0000 (16:09 +0530)
commit33bacb41503c0ee623a2958ed1ffcc80bc716d95
treecbce2096ed6c0b93e27de26e06bd8a3295aae3e9
parent47872e517224264a30e4ae33a7f3c103361bb82a
widget: Avoid an unnecessary check

The preceding loop terminates when either the widget is NULL,
or if their type matches. There is no reason to check that again
gtk/gtkwidget.c