gtk: fix assertion when the element has no peer
authorMatthew Waters <matthew@centricular.com>
Mon, 28 Sep 2015 14:25:00 +0000 (00:25 +1000)
committerMatthew Waters <matthew@centricular.com>
Mon, 28 Sep 2015 14:27:30 +0000 (00:27 +1000)
commit38e30dc631d76c2cd074d449b584ea2c695bb08e
treeebfbed460428b60f477f6417bc63e3b3c9cbb69b
parent16fe5f43c08faef02de42a5da5691adb8630ff98
gtk: fix assertion when the element has no peer

When proxying keyboard/navigation/mouse events, only unref a successfully
retreived peer pad.

https://bugzilla.gnome.org/show_bug.cgi?id=755738
ext/gtk/gstgtkbasesink.c