From e78b6a9b689c34af53df823dc31581a30244625c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Wed, 13 Aug 2008 18:40:34 +0000 Subject: [PATCH] Replace fprintf() with g_critical(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2884 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/support.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 029b759c..83de1e79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/support.c b/src/support.c index 00aff298..25202681 100644 --- a/src/support.c +++ b/src/support.c @@ -118,7 +118,7 @@ create_pixbuf (const gchar *filename) 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); }