[gtk+] settings: Don't assert in notify
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] settings: Don't assert in notify
- Date: Fri, 6 Oct 2017 23:31:06 +0000 (UTC)
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]