[gnome-shell] entry: Fix *-icon-clicked handler



commit 94a0ae1ec38392e119bc7e7be0b1601caa4369cd
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri May 5 00:27:32 2017 +0200

    entry: Fix *-icon-clicked handler
    
    Commit ffe4eaf00d8 broke the handler by fetching the instance private
    from the wrong actor - as we don't use the ::primary-icon-clicked signal,
    and the ::secondary-icon-clicked signal still works by accident, nobody
    noticed until now ...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782190

 src/st/st-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-entry.c b/src/st/st-entry.c
index 2b31c60..264f956 100644
--- a/src/st/st-entry.c
+++ b/src/st/st-entry.c
@@ -1142,7 +1142,7 @@ _st_entry_icon_press_cb (ClutterActor       *actor,
                          ClutterButtonEvent *event,
                          StEntry            *entry)
 {
-  StEntryPrivate *priv = ST_ENTRY_PRIV (actor);
+  StEntryPrivate *priv = ST_ENTRY_PRIV (entry);
 
   if (actor == priv->primary_icon)
     g_signal_emit (entry, entry_signals[PRIMARY_ICON_CLICKED], 0);


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