widget: Fix snapshot condition
authorTimm Bäder <mail@baedert.org>
Thu, 29 Mar 2018 07:00:48 +0000 (09:00 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 30 Mar 2018 21:15:04 +0000 (23:15 +0200)
commit66d5a4f752c6b385f42cb396c39b4e53933e5d32
treec65ecf1e2516d075680610bbfb81efd673ec4f7e
parent60acbd109007e273b44d1d15a1c71ead377b0832
widget: Fix snapshot condition

Of course, we only need to snapshot if both width and height > 0,
otherwise the result is invisible.
gtk/gtkwidget.c