summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-05-26 00:21:54 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-05-26 00:21:54 -0400
commit6499d89a6e39a2842b3281744d9a28cbf6e47d0d (patch)
treedb18ff9a09816d011657bff2489e5e905cf26bb4 /demos
parent5a6bfa2674c5dd84e66738eca94d6c5d084d000d (diff)
downloadgtk+-6499d89a6e39a2842b3281744d9a28cbf6e47d0d.tar.gz
And actually delete it
Diffstat (limited to 'demos')
-rw-r--r--demos/pixbuf-init.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/demos/pixbuf-init.c b/demos/pixbuf-init.c
deleted file mode 100644
index 02ab7658ac..0000000000
--- a/demos/pixbuf-init.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "config.h"
-#include <glib.h>
-
-#include <sys/stat.h>
-#include <stdlib.h>
-
-static gboolean
-file_exists (const char *filename)
-{
- struct stat statbuf;
-
- return stat (filename, &statbuf) == 0;
-}
-
-void
-pixbuf_init (void)
-{
- if (file_exists ("../gdk-pixbuf/libpixbufloader-pnm.la"))
- g_setenv ("GDK_PIXBUF_MODULE_FILE", "../gdk-pixbuf/loaders.cache", TRUE);
-}