]> Pileus Git - ~andy/gtk/commit
menubutton: don't dereference NULL GdkEvent
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 29 Jun 2012 22:30:53 +0000 (18:30 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 29 Jun 2012 22:30:53 +0000 (18:30 -0400)
commitd22624b18e1123659dcbb6e069eab15ea3072828
tree1aa8a05643750c522f94b49415bfc7f927eabe0c
parent0d665fdf451882b23e8a1eb04a2d4655abfec8de
menubutton: don't dereference NULL GdkEvent

Since we explictly call popup_menu with NULL when it's
keyboard-activated, we need to be careful and not access event->device
without checking for event != NULL before.
gtk/gtkmenubutton.c