From a6d04255a8b7a7d19ba092d833f5d92498f8d074 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Thu, 18 Dec 2008 11:05:17 +0000 Subject: [PATCH] Fixed bunch of warnings. --- src/core/prefs.c | 1 - src/core/schema-bindings.c | 6 ++++- src/metacity.schemas.in.in | 47 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/core/prefs.c b/src/core/prefs.c index be1645ddf..f62665389 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -2854,7 +2854,6 @@ meta_prefs_set_clutter_plugins (GSList *list) void meta_prefs_override_clutter_plugins (GSList *list) { - GError *err = NULL; GSList *l; clutter_plugins_overridden = TRUE; diff --git a/src/core/schema-bindings.c b/src/core/schema-bindings.c index 77a428996..915dca38f 100644 --- a/src/core/schema-bindings.c +++ b/src/core/schema-bindings.c @@ -138,12 +138,16 @@ produce_bindings () fprintf (target_file, "%s", buffer); if (fclose (source_file)!=0) + { g_error ("Cannot close %s: %s\n", source_filename, strerror (errno)); - + } + if (fclose (target_file)!=0) + { g_error ("Cannot close %s: %s\n", target_filename, strerror (errno)); + } } int diff --git a/src/metacity.schemas.in.in b/src/metacity.schemas.in.in index b3a0ec407..a7bbfab14 100644 --- a/src/metacity.schemas.in.in +++ b/src/metacity.schemas.in.in @@ -354,6 +354,53 @@ + + /schemas/apps/metacity/general/clutter_disabled + /apps/metacity/general/clutter_disabled + metacity + bool + false + + Clutter Disabled + + Determines whether Clutter compositing backend should be disabled. + Change to this option will not take effect until Metacity is + restarted. + + + + + + /schemas/apps/metacity/general/clutter_plugins + /apps/metacity/general/clutter_plugins + metacity + list + string + [default] + + Clutter Plugins + + Plugins to load for the Clutter-based compositing manager. + + + + + + /schemas/apps/metacity/general/live_hidden_windows + /apps/metacity/general/live_hidden_windows + metacity + bool + false + + Live Hidden Windows + + Determines whether hidden windows (i.e., minimized windows and + windows on other workspaces than the current one) should be kept + alive. + + + + /schemas/apps/metacity/workspace_names/name /apps/metacity/workspace_names/name_1