[gtk+] Fix a compiler warning



commit 9f1159a1a85e022717959b99ec3745f4c95543a7
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 13 20:05:03 2013 -0500

    Fix a compiler warning
    
    Don't return without a value from a non-void function.

 gtk/gtkselection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index e20d464..caec0dd 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -2295,7 +2295,7 @@ _gtk_selection_request (GtkWidget *widget,
   gulong selection_max_size;
 
   if (event->requestor == NULL)
-    return;
+    return FALSE;
 
   if (initialize)
     gtk_selection_init ();


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