forked from AuroraMiddleware/gtk
x11: Warning improvements to xsettings code
... and using g_warning() instead of fprintf()
This commit is contained in:
parent
01be4ce166
commit
8596142336
@ -381,11 +381,11 @@ read_settings (XSettingsClient *client)
|
||||
{
|
||||
if (type != xsettings_atom)
|
||||
{
|
||||
fprintf (stderr, "Invalid type for XSETTINGS property");
|
||||
g_warning ("Invalid type for XSETTINGS property: %s", gdk_x11_get_xatom_name_for_display (display, type));
|
||||
}
|
||||
else if (format != 8)
|
||||
{
|
||||
fprintf (stderr, "Invalid format for XSETTINGS property %d", format);
|
||||
g_warning ("Invalid format for XSETTINGS property: %d", format);
|
||||
}
|
||||
else
|
||||
client->settings = parse_settings (data, n_items);
|
||||
|
Loading…
Reference in New Issue
Block a user