[gimp/gimp-2-10] Issue #835: warnings building with Clang.



commit a7fcbf61222c1e5d216aa5b207f155d0ffef0783
Author: Jehan <jehan girinstud io>
Date:   Tue May 7 18:12:47 2019 +0900

    Issue #835: warnings building with Clang.
    
    Fix an error (introduced in commit 3bf2a3c1660).
    
    (cherry picked from commit 90bc9e10f14644a2bf6c0071c0762d5f34f0957d)

 app/menus/windows-menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/menus/windows-menu.c b/app/menus/windows-menu.c
index 28d891a044..5fe057ff2a 100644
--- a/app/menus/windows-menu.c
+++ b/app/menus/windows-menu.c
@@ -416,7 +416,7 @@ windows_menu_display_query_tooltip (GtkWidget  *widget,
   gint       height;
 
   if (! image)
-    return;
+    return FALSE;
 
   text = gtk_widget_get_tooltip_text (widget);
   gtk_tooltip_set_text (tooltip, text);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]