[gnome-shell/gnome-3-24] entry: Fix *-icon-clicked handler
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-24] entry: Fix *-icon-clicked handler
- Date: Thu, 4 May 2017 22:41:56 +0000 (UTC)
commit 65b9369aaf2626261fca484da07ebb0b096b1c3a
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]