[gtk/wip/otte/matthiasc/popup2: 58/92] Fix a compiler warning



commit 251217738fcbf02b720e657ae9870cc3cdf77bdf
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 23 00:13:15 2019 -0400

    Fix a compiler warning

 gtk/gtkmain.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index c5bc0c4eae..6f6d0a61ab 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -1453,7 +1453,8 @@ is_or_contains (gboolean      enter,
       break;
     case GDK_NOTIFY_UNKNOWN:
     default:
-      g_return_val_if_reached (FALSE);
+      g_warning ("Unknown focus change detail");
+      break;
     }
 
   return is || contains;


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