SF.net SVN: geany:[2884] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Wed Aug 13 18:40:36 UTC 2008


Revision: 2884
          http://geany.svn.sourceforge.net/geany/?rev=2884&view=rev
Author:   eht16
Date:     2008-08-13 18:40:34 +0000 (Wed, 13 Aug 2008)

Log Message:
-----------
Replace fprintf() with g_critical().

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/support.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-08-13 18:38:40 UTC (rev 2883)
+++ trunk/ChangeLog	2008-08-13 18:40:34 UTC (rev 2884)
@@ -6,6 +6,8 @@
    Expect GTK 2.10 libs to link against by default and remove GTK210
    flag. If anyone wants to build on Windows against GTK 2.6 or 2.8
    use 'make GTK280=1'.
+ * src/support.c:
+   Replace fprintf() with g_critical().
 
 
 2008-08-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/support.c
===================================================================
--- trunk/src/support.c	2008-08-13 18:38:40 UTC (rev 2883)
+++ trunk/src/support.c	2008-08-13 18:40:34 UTC (rev 2884)
@@ -118,7 +118,7 @@
   pixbuf = gdk_pixbuf_new_from_file (pathname, &error);
   if (!pixbuf)
     {
-      fprintf (stderr, "Failed to load pixbuf file: %s: %s\n",
+      g_critical ("Failed to load pixbuf file: %s: %s\n",
                pathname, error->message);
       g_error_free (error);
     }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list