Patch by: Brian Cameron <brian.cameron@sun.com>
2007-12-04 Jens Granseuer <jensgr@gmx.net> Patch by: Brian Cameron <brian.cameron@sun.com> * gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme): printing NULL strings crashes on Solaris so don't do that (bug #501391) svn path=/trunk/; revision=8309
This commit is contained in:
parent
7421584a4c
commit
94a48c78ce
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-12-04 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
Patch by: Brian Cameron <brian.cameron@sun.com>
|
||||||
|
|
||||||
|
* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme):
|
||||||
|
printing NULL strings crashes on Solaris so don't do that (bug #501391)
|
||||||
|
|
||||||
20007-11-12 Rodrigo Moya <rodrigo@gnome-db.org>
|
20007-11-12 Rodrigo Moya <rodrigo@gnome-db.org>
|
||||||
|
|
||||||
* gnome-theme-info.c:
|
* gnome-theme-info.c:
|
||||||
|
|
|
@ -104,7 +104,8 @@ gtkrc_get_details (gchar *filename, GSList **engines, GSList **symbolic_colors)
|
||||||
file = g_open (filename, O_RDONLY);
|
file = g_open (filename, O_RDONLY);
|
||||||
if (file == -1)
|
if (file == -1)
|
||||||
{
|
{
|
||||||
g_warning ("Could not open file \"%s\"", filename);
|
g_warning ("Could not open file \"%s\"",
|
||||||
|
filename ? filename : "(null)");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -192,7 +193,8 @@ gtkrc_get_color_scheme (gchar *filename)
|
||||||
file = g_open (filename, O_RDONLY);
|
file = g_open (filename, O_RDONLY);
|
||||||
if (file == -1)
|
if (file == -1)
|
||||||
{
|
{
|
||||||
g_warning ("Could not open file \"%s\"", filename);
|
g_warning ("Could not open file \"%s\"",
|
||||||
|
filename ? filename : "(null)");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue