diff options
Diffstat (limited to 'src/settings-helper.c')
-rw-r--r-- | src/settings-helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings-helper.c b/src/settings-helper.c index 55411da..007f83f 100644 --- a/src/settings-helper.c +++ b/src/settings-helper.c @@ -130,7 +130,8 @@ update_shutdown_callback (GSettings * settings, const gchar * key, gpointer data void update_menu_entries(RestartShutdownLogoutMenuItems * restart_shutdown_logout_mi) { /* If we don't have a client, build one. */ - g_return_if_fail(build_settings()); + gboolean settings_built = build_settings(); + g_return_if_fail(settings_built); if (confirmation_notify != 0) { g_signal_handler_disconnect (settings, confirmation_notify); |