[gtk+/gtk-3-10] Avoid a compiler warning



commit 1c42bb5e34783ea7170e96905d9d60e07e23933f
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 27 21:58:44 2014 -0500

    Avoid a compiler warning
    
    gcc doesn't like returning 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 1c77002..3fa8971 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -2294,7 +2294,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]