[gtk+] button: Don't emit a signal on broken grabs



commit 85b17e778ce25ff734d6a54b19cc266122f975e6
Author: Benjamin Otte <otte redhat com>
Date:   Mon Dec 2 21:21:22 2013 +0100

    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.

 gtk/gtkbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 456db79..ab7c819 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]