[Libreoffice-commits] core.git: vcl/unx
Julien Nabet
serval2412 at yahoo.fr
Sat Feb 27 14:16:15 UTC 2016
vcl/unx/gtk/gtksalmenu.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dd5dc7b8ccb85ecfa8fa3a6a6449be25c2fdb3c8
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Feb 27 15:15:36 2016 +0100
loplugin:implicitboolconversion
Change-Id: I5bac3a484b78c68022d2533cbedaf89259b189a9
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 5cafb33..b89a351 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -571,7 +571,7 @@ static void ReturnFocus(GtkMenuShell *, gpointer pWidget)
fevent->focus_change.type = GDK_FOCUS_CHANGE;
fevent->focus_change.window = GDK_WINDOW(g_object_ref(window));
- fevent->focus_change.in = TRUE;
+ fevent->focus_change.in = static_cast<gint16>(TRUE);
gtk_widget_send_focus_change(pTopLevel, fevent);
gdk_event_free(fevent);
}
More information about the Libreoffice-commits
mailing list