gtk+ r21037 - in trunk: . gdk
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21037 - in trunk: . gdk
- Date: Thu,  7 Aug 2008 14:23:07 +0000 (UTC)
Author: timj
Date: Thu Aug  7 14:23:07 2008
New Revision: 21037
URL: http://svn.gnome.org/viewvc/gtk+?rev=21037&view=rev
Log:
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.
Modified:
   trunk/ChangeLog
   trunk/gdk/gdkrgb.c
Modified: trunk/gdk/gdkrgb.c
==============================================================================
--- trunk/gdk/gdkrgb.c	(original)
+++ trunk/gdk/gdkrgb.c	Thu Aug  7 14:23:07 2008
@@ -3265,15 +3265,12 @@
     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;
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]