Fixed bunch of warnings.

This commit is contained in:
Tomas Frydrych 2008-12-18 11:05:17 +00:00
parent 9821453b5f
commit a6d04255a8
3 changed files with 52 additions and 2 deletions

View File

@ -2854,7 +2854,6 @@ meta_prefs_set_clutter_plugins (GSList *list)
void void
meta_prefs_override_clutter_plugins (GSList *list) meta_prefs_override_clutter_plugins (GSList *list)
{ {
GError *err = NULL;
GSList *l; GSList *l;
clutter_plugins_overridden = TRUE; clutter_plugins_overridden = TRUE;

View File

@ -138,12 +138,16 @@ produce_bindings ()
fprintf (target_file, "%s", buffer); fprintf (target_file, "%s", buffer);
if (fclose (source_file)!=0) if (fclose (source_file)!=0)
{
g_error ("Cannot close %s: %s\n", g_error ("Cannot close %s: %s\n",
source_filename, strerror (errno)); source_filename, strerror (errno));
}
if (fclose (target_file)!=0) if (fclose (target_file)!=0)
{
g_error ("Cannot close %s: %s\n", g_error ("Cannot close %s: %s\n",
target_filename, strerror (errno)); target_filename, strerror (errno));
}
} }
int int

View File

@ -354,6 +354,53 @@
</locale> </locale>
</schema> </schema>
<schema>
<key>/schemas/apps/metacity/general/clutter_disabled</key>
<applyto>/apps/metacity/general/clutter_disabled</applyto>
<owner>metacity</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Clutter Disabled</short>
<long>
Determines whether Clutter compositing backend should be disabled.
Change to this option will not take effect until Metacity is
restarted.
</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/metacity/general/clutter_plugins</key>
<applyto>/apps/metacity/general/clutter_plugins</applyto>
<owner>metacity</owner>
<type>list</type>
<list_type>string</list_type>
<default>[default]</default>
<locale name="C">
<short>Clutter Plugins</short>
<long>
Plugins to load for the Clutter-based compositing manager.
</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/metacity/general/live_hidden_windows</key>
<applyto>/apps/metacity/general/live_hidden_windows</applyto>
<owner>metacity</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Live Hidden Windows</short>
<long>
Determines whether hidden windows (i.e., minimized windows and
windows on other workspaces than the current one) should be kept
alive.
</long>
</locale>
</schema>
<schema> <schema>
<key>/schemas/apps/metacity/workspace_names/name</key> <key>/schemas/apps/metacity/workspace_names/name</key>
<applyto>/apps/metacity/workspace_names/name_1</applyto> <applyto>/apps/metacity/workspace_names/name_1</applyto>