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

ochosi pushed a commit to branch master
in repository apps/xfce4-terminal.

commit f363107fad511c16431fc6c07531971f19763cf6
Author: Steven Vanden Branden <stevenvandenbrandenst...@gmail.com>
Date:   Fri May 29 15:40:21 2015 +0200

    terminal-window.c: fix segfault when right/middle click on tab bar
    
    Signed-off-by: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at>
---
 terminal/terminal-window.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 34358e4..6d89083 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -942,7 +942,11 @@ terminal_window_notebook_event_in_allocation (gint event_x,
 {
        cairo_rectangle_int_t *allocation;
        gtk_widget_get_allocation (widget, allocation);
-
+       
+       if(allocation == NULL)
+               return FALSE;
+       
+       
        if (event_x >= allocation->x \
                && event_x <= allocation->x + allocation->width \
                && event_y >= allocation->y \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to