forked from AuroraMiddleware/gtk
MenuShell: Avoid compiler warning re un/signed cmp
priv->button is a guint, but we assigned it to a local gint. gtk/gtkmenushell.c:734:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (button && (new_button != button) && priv->parent_menu_shell) ^
This commit is contained in:
parent
d13e78831b
commit
3b2a03367c
@ -727,7 +727,7 @@ gtk_menu_shell_event (GtkWidget *widget,
|
||||
if (priv->active)
|
||||
{
|
||||
GtkWidget *menu_item;
|
||||
gint button = priv->button;
|
||||
guint button = priv->button;
|
||||
|
||||
priv->button = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user