[gtk+] Remove no-longer-needed pixbuf_init hack
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove no-longer-needed pixbuf_init hack
- Date: Thu, 26 May 2011 04:21:49 +0000 (UTC)
commit 5a6bfa2674c5dd84e66738eca94d6c5d084d000d
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 26 00:20:59 2011 -0400
Remove no-longer-needed pixbuf_init hack
Since gdk-pixbuf is now a separate project again, we no
longer need to locate it inside our source tree.
demos/Makefile.am | 6 +++---
demos/pixbuf-demo.c | 3 ---
demos/testpixbuf-scale.c | 4 ----
3 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/demos/Makefile.am b/demos/Makefile.am
index dfe3a7d..ad30656 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -41,9 +41,9 @@ pixbuf_demo_LDADD = $(LDADDS)
testpixbuf_save_SOURCES = testpixbuf-save.c
testpixbuf_color_SOURCES = testpixbuf-color.c
-testpixbuf_scale_SOURCES = testpixbuf-scale.c pixbuf-init.c
-testanimation_SOURCES = testanimation.c pixbuf-init.c
-pixbuf_demo_SOURCES = pixbuf-demo.c pixbuf-init.c
+testpixbuf_scale_SOURCES = testpixbuf-scale.c
+testanimation_SOURCES = testanimation.c
+pixbuf_demo_SOURCES = pixbuf-demo.c
EXTRA_DIST += \
apple-red.png \
diff --git a/demos/pixbuf-demo.c b/demos/pixbuf-demo.c
index 4448072..64b3f04 100644
--- a/demos/pixbuf-demo.c
+++ b/demos/pixbuf-demo.c
@@ -181,14 +181,11 @@ destroy_cb (GObject *object, gpointer data)
gtk_main_quit ();
}
-extern void pixbuf_init();
-
int
main (int argc, char **argv)
{
GtkWidget *window;
- pixbuf_init ();
gtk_init (&argc, &argv);
if (!load_pixbufs ()) {
diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c
index bfff451..65eb2b1 100644
--- a/demos/testpixbuf-scale.c
+++ b/demos/testpixbuf-scale.c
@@ -58,8 +58,6 @@ draw_cb (GtkWidget *widget, cairo_t *cr, gpointer data)
return TRUE;
}
-extern void pixbuf_init();
-
int
main(int argc, char **argv)
{
@@ -71,8 +69,6 @@ main(int argc, char **argv)
GtkRequisition scratch_requisition;
const gchar *creator;
GError *error;
-
- pixbuf_init ();
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]