src: Eliminate compiler warnings

This commit is contained in:
Jasper St. Pierre
2013-08-23 12:34:38 -04:00
parent 44e3811520
commit d3a88e59b9
3 changed files with 1 additions and 9 deletions

View File

@ -419,14 +419,13 @@ shell_app_usage_init (ShellAppUsage *self)
self->currently_idle = FALSE;
self->enable_monitoring = FALSE;
g_object_get (shell_global_get(), "userdatadir", &shell_userdata_dir, NULL),
g_object_get (global, "userdatadir", &shell_userdata_dir, NULL),
path = g_build_filename (shell_userdata_dir, DATA_FILENAME, NULL);
g_free (shell_userdata_dir);
self->configfile = g_file_new_for_path (path);
g_free (path);
restore_from_file (self);
self->privacy_settings = g_settings_new(PRIVACY_SCHEMA);
g_signal_connect (self->privacy_settings,
"changed::" ENABLE_MONITORING_KEY,