[gtk+] settings: Don't assert in notify



commit b5fe4c0a1d8d11b198a3e56f5bc165e963b2d277
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 6 19:30:27 2017 -0400

    settings: Don't assert in notify
    
    We can legitimately hit the default case in this switch,
    so don't assert that we don't.

 gtk/gtksettings.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 0f199ae..69b60af 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1403,7 +1403,6 @@ gtk_settings_notify (GObject    *object,
       settings_update_cursor_theme (settings);
       break;
     default:
-      g_assert_not_reached ();
       break;
     }
 }


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