diff options
author | Ted Gould <ted@gould.cx> | 2011-10-12 15:30:18 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-10-12 15:30:18 -0500 |
commit | 2e2cf84cd5e3c6791c5684032e014fc74da09424 (patch) | |
tree | ff5b32591b4b9224480a0056f5200ee9de3bb6f1 | |
parent | c20ca2c4b4c096b12d7d5a0b7df401dfb9f9f500 (diff) | |
download | ayatana-indicator-session-2e2cf84cd5e3c6791c5684032e014fc74da09424.tar.gz ayatana-indicator-session-2e2cf84cd5e3c6791c5684032e014fc74da09424.tar.bz2 ayatana-indicator-session-2e2cf84cd5e3c6791c5684032e014fc74da09424.zip |
Okay, get all of them I guess
-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); |