[Xfce4-commits] [xfce/exo] 01/01: Fix exo-helper-1 segfault (Xfce #13374)

noreply at xfce.org noreply at xfce.org
Thu Mar 2 05:21:46 CET 2017


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository xfce/exo.

commit 4f3674e0ec5cb16cb0835191cb8f320e7fd220dd
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Mar 1 23:21:39 2017 -0500

    Fix exo-helper-1 segfault (Xfce #13374)
---
 exo-helper/exo-helper-chooser.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/exo-helper/exo-helper-chooser.c b/exo-helper/exo-helper-chooser.c
index fadf89b..3d7b056 100644
--- a/exo-helper/exo-helper-chooser.c
+++ b/exo-helper/exo-helper-chooser.c
@@ -675,6 +675,10 @@ exo_helper_chooser_pressed (ExoHelperChooser *chooser,
   gint            icon_size;
   GtkAllocation   chooser_allocation;
 
+  /* Catch button-release-event params and discard */
+  GdkEvent       *event;
+  gboolean        handled;
+
   g_return_if_fail (EXO_IS_HELPER_CHOOSER (chooser));
   g_return_if_fail (GTK_IS_BUTTON (button));
 
@@ -788,7 +792,7 @@ exo_helper_chooser_pressed (ExoHelperChooser *chooser,
   gtk_grab_remove (menu);
   g_main_loop_unref (loop);
 
-  g_signal_emit_by_name (button, "button-release-event");
+  g_signal_emit_by_name (button, "button-release-event", &event, &handled);
   g_object_unref (G_OBJECT (menu));
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list