mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Add initialisation which I missed on the previous checkin. Also an extra
2008-10-27 Thomas Thurman <tthurman@gnome.org> * src/core/prefs.c (titlebar_handler, handle_preference_update_enum): Add initialisation which I missed on the previous checkin. Also an extra comment. svn path=/trunk/; revision=4004
This commit is contained in:
parent
5ed940e101
commit
7405f040e8
@ -1,3 +1,9 @@
|
|||||||
|
2008-10-27 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
|
* src/core/prefs.c (titlebar_handler, handle_preference_update_enum):
|
||||||
|
Add initialisation which I missed on the previous checkin. Also
|
||||||
|
an extra comment.
|
||||||
|
|
||||||
2008-10-27 Brian Cameron <brian.cameron@sun.com>
|
2008-10-27 Brian Cameron <brian.cameron@sun.com>
|
||||||
|
|
||||||
Fix some crashes with the new GDM 2.24. Closes #558058.
|
Fix some crashes with the new GDM 2.24. Closes #558058.
|
||||||
|
@ -650,8 +650,11 @@ handle_preference_update_enum (const gchar *key, GConfValue *value)
|
|||||||
* we might consider reverting invalid keys to their original values.
|
* we might consider reverting invalid keys to their original values.
|
||||||
* (We know the old value, so we can look up a suitable string in
|
* (We know the old value, so we can look up a suitable string in
|
||||||
* the symtab.)
|
* the symtab.)
|
||||||
|
*
|
||||||
|
* (Empty comment follows so the translators don't see this.)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* */
|
||||||
meta_warning (_("GConf key '%s' is set to an invalid value\n"),
|
meta_warning (_("GConf key '%s' is set to an invalid value\n"),
|
||||||
key);
|
key);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -1324,7 +1327,7 @@ titlebar_handler (MetaPreference pref,
|
|||||||
const gchar *string_value,
|
const gchar *string_value,
|
||||||
gboolean *inform_listeners)
|
gboolean *inform_listeners)
|
||||||
{
|
{
|
||||||
PangoFontDescription *new_desc;
|
PangoFontDescription *new_desc = NULL;
|
||||||
|
|
||||||
if (string_value)
|
if (string_value)
|
||||||
new_desc = pango_font_description_from_string (string_value);
|
new_desc = pango_font_description_from_string (string_value);
|
||||||
|
Loading…
Reference in New Issue
Block a user