Commit 83269a5a authored by 16:19:16  Tim Janik's avatar 16:19:16 Tim Janik Committed by Tim Janik

use g_error() instead of a combination of g_warning+exit to avoid

2008-08-07 16:19:16  Tim Janik  <timj@imendio.com>

        * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
        combination of g_warning+exit to avoid misleading the user.


svn path=/trunk/; revision=21037
parent 81934ca8
2008-08-07 16:19:16 Tim Janik <timj@imendio.com>
* gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
combination of g_warning+exit to avoid misleading the user.
2008-08-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkactiongroup.c
......
......@@ -3265,15 +3265,12 @@ gdk_rgb_select_conv (GdkRgbInfo *image_info)
conv = gdk_rgb_convert_4_pack;
if (!conv)
{
g_warning ("Visual type=%d depth=%d, image bpp=%d, %s first\n"
"is not supported by GdkRGB. Please submit a bug report\n"
"with the above values to bugzilla.gnome.org",
vtype, depth, bpp,
byte_order == GDK_LSB_FIRST ? "lsb" : "msb");
exit (1);
}
g_error ("Visual type=%d depth=%d, image bpp=%d, %s first\n"
"is not supported by GdkRGB. Please submit a bug report\n"
"with the above values to bugzilla.gnome.org",
vtype, depth, bpp,
byte_order == GDK_LSB_FIRST ? "lsb" : "msb");
if (conv_d == NULL)
conv_d = conv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment