Kaydet (Commit) 36ff8bf4 authored tarafından Miklos Vajna's avatar Miklos Vajna Kaydeden (comit) Tor Lillqvist

WaE: implicit conversion (IntegralCast) from bool to 'int'

Change-Id: I228c0bca3133e94b28db2540dbd41e8b4fd1eee9
üst 771bb58c
......@@ -135,7 +135,7 @@ static void signalCommand(LOKDocView* /*pLOKDocView*/, char* pPayload, gpointer
if (g_aCommandNameToolItems.find(aKey) != g_aCommandNameToolItems.end())
{
GtkToolItem* pItem = g_aCommandNameToolItems[aKey];
bool bEdit = aValue == "true";
gboolean bEdit = aValue == "true";
if (gtk_toggle_tool_button_get_active(GTK_TOGGLE_TOOL_BUTTON(pItem)) != bEdit)
{
// Avoid invoking lok_docview_post_command().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment