[Commits] [SCM] claws branch, master, updated. 3.16.0-161-g2059b3a

ticho at claws-mail.org ticho at claws-mail.org
Tue May 8 16:55:55 CEST 2018


The branch, master has been updated
       via  2059b3ae33cb6e557a54a0cb2a9f8e7c36608808 (commit)
      from  c5288aacee452100bfd138f92b5244b66425da13 (commit)

Summary of changes:
 src/mainwindow.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 2059b3ae33cb6e557a54a0cb2a9f8e7c36608808
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue May 8 16:54:53 2018 +0200

    Fix crash in quicksearch keypress handling.
    
    The fourth argument to g_signal_emit_by_name() in this case
    is not the signal user data, but a pointer where to store the
    return value.

diff --git a/src/mainwindow.c b/src/mainwindow.c
index 4f56588..fb6d2a4 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1369,7 +1369,8 @@ static gboolean mainwindow_key_pressed (GtkWidget *widget, GdkEventKey *event,
 	{
 		GtkWidget *entry =
 			quicksearch_get_entry(mainwin->summaryview->quicksearch);
-		g_signal_emit_by_name(entry, "key-press-event", event, data);
+		gboolean dummy;
+		g_signal_emit_by_name(entry, "key-press-event", event, &dummy);
 		return TRUE;
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list