]> Pileus Git - ~andy/gtk/commitdiff
Remove examples, adjust Makefile.am
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 15 Nov 2004 18:25:11 +0000 (18:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 15 Nov 2004 18:25:11 +0000 (18:25 +0000)
modules/engines/pixbuf/Makefile.am
modules/engines/pixbuf/examples/bubble/README [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-dark.png [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-light.png [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/bc.png [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-blue.png [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-parts.xcf [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/gtkrc [deleted file]
modules/engines/pixbuf/examples/bubble/gtk-2.0/triangle_background.png [deleted file]

index 27ebd8e37bd186746cf3114351267517400e8407..0dc2a730af78d674ffcf72881fb7f4840d55205a 100644 (file)
@@ -2,9 +2,16 @@ if OS_WIN32
 no_undefined = -no-undefined
 endif
 
-INCLUDES = $(GTK_CFLAGS)
+INCLUDES = \
+       -I$(top_srcdir)                                 \
+       -I$(top_srcdir)/gdk                             \
+       -I$(top_builddir)/gdk                           \
+       -DG_DISABLE_DEPRECATED                          \
+       -DGDK_PIXBUF_DISABLE_DEPRECATED                 \
+       -DGDK_DISABLE_DEPRECATED                        \
+       $(GTK_DEP_CFLAGS)
 
-enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/engines
+enginedir = $(libdir)/gtk-2.0/$(GTK_BINARY_VERSION)/engines
 
 engine_LTLIBRARIES = libpixmap.la
 
@@ -20,6 +27,3 @@ libpixmap_la_SOURCES =                \
 libpixmap_la_LDFLAGS =  -avoid-version -module $(no_undefined)
 libpixmap_la_LIBADD = $(GTK_LIBS)
 
-dist-hook:
-       cp -pr examples $(distdir);                                     \
-        find $(distdir)/examples -name 'CVS' -print | xargs rm -rf 
diff --git a/modules/engines/pixbuf/examples/bubble/README b/modules/engines/pixbuf/examples/bubble/README
deleted file mode 100644 (file)
index 46cade4..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-gtk-2.0/triangle-background.png is copyright Owen Taylor, 1997
-and may be used without restriction as long as this attribution
-is reproduced.
-
-images/bc.pnm images/bc-dark.pnm images/bc-light.png are
-from the BrushedMetalClean theme; I believe Tuomas Kuosmanen
-and Carsten Haitzler had something to do with the original
-BrushedMetal artwork.
-
-This theme is truly hideous for a reason ... to demonstrate
-that alpha-compositing is going on.
-
-Owen Taylor
-19 Jan 2002x
\ No newline at end of file
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-dark.png b/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-dark.png
deleted file mode 100644 (file)
index ab87858..0000000
Binary files a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-dark.png and /dev/null differ
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-light.png b/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-light.png
deleted file mode 100644 (file)
index 0c7ecd5..0000000
Binary files a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc-light.png and /dev/null differ
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc.png b/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc.png
deleted file mode 100644 (file)
index 7b7c1da..0000000
Binary files a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bc.png and /dev/null differ
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-blue.png b/modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-blue.png
deleted file mode 100644 (file)
index bea78c3..0000000
Binary files a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-blue.png and /dev/null differ
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-parts.xcf b/modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-parts.xcf
deleted file mode 100644 (file)
index 184d750..0000000
Binary files a/modules/engines/pixbuf/examples/bubble/gtk-2.0/bubble-parts.xcf and /dev/null differ
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/gtkrc b/modules/engines/pixbuf/examples/bubble/gtk-2.0/gtkrc
deleted file mode 100644 (file)
index 2d621e0..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-style "default"
-{
-  fg[NORMAL] = "#ffffff"
-  fg[PRELIGHT] = "#ffffff"
-  bg_pixmap[NORMAL]      = "triangle_background.png"
-#  bg_pixmap[NORMAL]    = "bc.png"
-  bg_pixmap[PRELIGHT]    = "bc-light.png"
-  bg_pixmap[ACTIVE]      = "bc-dark.png"  bg_pixmap[INSENSITIVE] = "bc.png"
-}
-
-class "GtkWidget" style "default"
-
-style "bubble-button"
-{
-  engine "pixmap" 
-    {
-    image 
-      {
-        function        = BOX
-       file            = "bubble-blue.png"
-       border          = { 8, 8, 8, 8 }
-       stretch         = TRUE
-      }
-    }
-}
-
-# common default
-class "GtkButton" style "bubble-button"
-
-style "bubble-range"
-{
-  GtkRange::slider_width = 16
-  GtkRange::stepper_size = 16
-
-  engine "pixmap" 
-    {
-    image 
-      {
-        function        = BOX
-       file            = "bubble-blue.png"
-       border          = { 8, 8, 8, 8 }
-       stretch         = TRUE
-      }
-    }
-}
-
-# common default
-class "GtkRange" style "bubble-range"
-
-style "bubble-menuitem"
-{
-  engine "pixmap" 
-    {
-    image 
-      {
-        function        = BOX
-       file            = "bubble-blue.png"
-       border          = { 8, 8, 8, 8 }
-       stretch         = TRUE
-      }
-    }
-}
-
-# common default
-class "GtkMenuItem" style "bubble-menuitem"
diff --git a/modules/engines/pixbuf/examples/bubble/gtk-2.0/triangle_background.png b/modules/engines/pixbuf/examples/bubble/gtk-2.0/triangle_background.png
deleted file mode 100644 (file)
index a4a612d..0000000
Binary files a/modules/engines/pixbuf/examples/bubble/gtk-2.0/triangle_background.png and /dev/null differ