button: Don't emit a signal on broken grabs

We don't emit one on grab notify, so we don't want one for broken grabs
either.
This commit is contained in:
Benjamin Otte 2013-12-02 21:21:22 +01:00
parent c73bdb21b4
commit 85b17e778c

View File

@ -1983,7 +1983,7 @@ gtk_button_grab_broken (GtkWidget *widget,
{
save_in = priv->in_button;
priv->in_button = FALSE;
g_signal_emit (button, button_signals[RELEASED], 0);
gtk_real_button_released (button);
if (save_in != priv->in_button)
{
priv->in_button = save_in;