+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
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;