no need for an expensive parse to initialize the colors
2007-08-02 Jens Granseuer <jensgr@gmx.net> * gnome-theme-info.c: (gnome_theme_color_scheme_parse): no need for an expensive parse to initialize the colors svn path=/trunk/; revision=7949
This commit is contained in:
parent
1ab61b2bbc
commit
d31c4f7b75
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-08-02 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* gnome-theme-info.c: (gnome_theme_color_scheme_parse): no need for an
|
||||||
|
expensive parse to initialize the colors
|
||||||
|
|
||||||
2007-08-02 Jens Granseuer <jensgr@gmx.net>
|
2007-08-02 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* theme-thumbnail.c: (generate_metacity_theme_thumbnail),
|
* theme-thumbnail.c: (generate_metacity_theme_thumbnail),
|
||||||
|
|
|
@ -1854,7 +1854,7 @@ gnome_theme_color_scheme_parse (const gchar *scheme, GdkColor *colors)
|
||||||
|
|
||||||
/* initialise the array */
|
/* initialise the array */
|
||||||
for (i = 0; i < NUM_SYMBOLIC_COLORS; i++)
|
for (i = 0; i < NUM_SYMBOLIC_COLORS; i++)
|
||||||
gdk_color_parse ("#000", &colors[i]);
|
colors[i].red = colors[i].green = colors[i].blue = 0;
|
||||||
|
|
||||||
/* The color scheme string consists of name:color pairs, seperated by
|
/* The color scheme string consists of name:color pairs, seperated by
|
||||||
* newlines, so first we split the string up by new line */
|
* newlines, so first we split the string up by new line */
|
||||||
|
|
Loading…
Add table
Reference in a new issue