metacity r3673 - in trunk: . src/core
- From: tthurman svn gnome org
- To: svn-commits-list gnome org
- Subject: metacity r3673 - in trunk: . src/core
- Date: Thu, 3 Apr 2008 18:36:32 +0100 (BST)
Author: tthurman
Date: Thu Apr 3 18:36:32 2008
New Revision: 3673
URL: http://svn.gnome.org/viewvc/metacity?rev=3673&view=rev
Log:
2008-04-03 Thomas Thurman <tthurman gnome org>
* src/core/prefs.c (handle_preference_update_bool): preferences
which have a null target don't get updated! (#526016)
Modified:
trunk/ChangeLog
trunk/src/core/prefs.c
Modified: trunk/src/core/prefs.c
==============================================================================
--- trunk/src/core/prefs.c (original)
+++ trunk/src/core/prefs.c Thu Apr 3 18:36:32 2008
@@ -586,6 +586,10 @@
if (cursor->key==NULL)
/* Didn't recognise that key. */
return FALSE;
+
+ if (cursor->target==NULL)
+ /* No work for us to do. */
+ return TRUE;
if (value==NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]