Check if pixbuf is valid before unref
I'm seeing GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
when screenshooter dialogs are closed.
I'm seeing GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
when screenshooter dialogs are closed.