Blame SOURCES/placessidebar-crash.patch
|
|
25dd04 |
@@ -, +, @@
|
|
|
25dd04 |
gtk/gtkplacessidebar.c | 3 ++-
|
|
|
25dd04 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
25dd04 |
--- a/gtk/gtkplacessidebar.c
|
|
|
25dd04 |
+++ a/gtk/gtkplacessidebar.c
|
|
|
25dd04 |
@@ -1423,7 +1423,8 @@ clicked_eject_button (GtkPlacesSidebar *sidebar,
|
|
|
25dd04 |
GdkEvent *event = gtk_get_current_event ();
|
|
|
25dd04 |
GdkEventButton *button_event = (GdkEventButton *) event;
|
|
|
25dd04 |
|
|
|
25dd04 |
- if ((event->type == GDK_BUTTON_PRESS || event->type == GDK_BUTTON_RELEASE) &&
|
|
|
25dd04 |
+ if (event != NULL &&
|
|
|
25dd04 |
+ (event->type == GDK_BUTTON_PRESS || event->type == GDK_BUTTON_RELEASE) &&
|
|
|
25dd04 |
over_eject_button (sidebar, button_event->x, button_event->y, path))
|
|
|
25dd04 |
return TRUE;
|
|
|
25dd04 |
|
|
|
25dd04 |
|