mutter/mutter-3.8.0-gcc-4.7.patch

21 lines
664 B
Diff
Raw Normal View History

--- mutter-3.6.0/src/core/prefs.c.orig 2012-10-03 04:07:48.000000000 +0200
+++ mutter-3.6.0/src/core/prefs.c 2012-10-03 04:08:33.000000000 +0200
@@ -1664,7 +1664,7 @@
void
meta_prefs_set_num_workspaces (int n_workspaces)
{
- MetaBasePreference *pref;
+ MetaBasePreference *pref = NULL;
find_pref (preferences_int, sizeof(MetaIntPreference),
KEY_NUM_WORKSPACES, &pref);
@@ -2144,7 +2144,7 @@
void
meta_prefs_set_no_tab_popup (gboolean whether)
{
- MetaBasePreference *pref;
+ MetaBasePreference *pref = NULL;
find_pref (preferences_bool, sizeof(MetaBoolPreference),
KEY_NO_TAB_POPUP, &pref);