gnome-control-center r9157 - trunk/capplets/common
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9157 - trunk/capplets/common
- Date: Sun, 30 Nov 2008 12:58:38 +0000 (UTC)
Author: jensg
Date: Sun Nov 30 12:58:38 2008
New Revision: 9157
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9157&view=rev
Log:
2008-11-30 Jens Granseuer <jensgr gmx net>
* gtkrc-utils.c: (gtkrc_get_details): don't recognize "" as a valid
engine for certain odd GTK themes (see bug #315286 for an example)
Modified:
trunk/capplets/common/ChangeLog
trunk/capplets/common/gtkrc-utils.c
Modified: trunk/capplets/common/gtkrc-utils.c
==============================================================================
--- trunk/capplets/common/gtkrc-utils.c (original)
+++ trunk/capplets/common/gtkrc-utils.c Sun Nov 30 12:58:38 2008
@@ -149,7 +149,7 @@
else if (scanner->value.v_symbol == ENGINE_SYMBOL)
{
string_token = g_scanner_get_next_token (scanner);
- if (string_token != G_TOKEN_STRING)
+ if (string_token != G_TOKEN_STRING || scanner->value.v_string[0] == '\0')
continue;
if (!g_slist_find_custom (*engines, scanner->value.v_string, (GCompareFunc) strcmp))
*engines = g_slist_append (*engines, g_strdup (scanner->value.v_string));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]