loplugin:implicitboolconversion
Silly fix for "Implicit conversion (IntegralCast) from 'bool' to 'gint8' (aka 'signed char')". The GLib TRUE is defined as !FALSE, thus it is a bool value, which the loplugin doesn't then like being assigned to a 'signed char'. Change-Id: I04ae41c0ff89adad8962954e04215026b5f79c4c
This commit is contained in:
@@ -642,7 +642,7 @@ bool GtkSalMenu::TakeFocus()
|
||||
//(given that we wnt to show it with no menus popped down)
|
||||
GdkEvent *event = gdk_event_new(GDK_KEY_PRESS);
|
||||
event->key.window = GDK_WINDOW(g_object_ref(gtk_widget_get_window(mpMenuBarWidget)));
|
||||
event->key.send_event = TRUE;
|
||||
event->key.send_event = 1 /* TRUE */;
|
||||
event->key.time = gtk_get_current_event_time();
|
||||
event->key.state = 0;
|
||||
event->key.keyval = 0;
|
||||
|
Reference in New Issue
Block a user