1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
--- libgtkdatabox-0.9.0.1.orig/examples/basics_libglade.c
+++ libgtkdatabox-0.9.0.1/examples/basics_libglade.c
@@ -29,19 +29,13 @@
#include <gtkdatabox_cross_simple.h>
#include <math.h>
-#include <config.h>
-
-#ifdef USE_LIBGLADE
#include <glade/glade.h>
-#endif
#define POINTS 2000
#define STEPS 50
#define BARS 25
#define MARKER 10
-#ifdef USE_LIBGLADE
-
/*----------------------------------------------------------------
* databox basics
*----------------------------------------------------------------*/
@@ -207,16 +201,3 @@
return 0;
}
-
-#else /* USE_LIBGLADE */
-
-/* Build some dummy program if libglade is not used. */
-gint
-main ()
-{
- g_printf
- ("This program does nothing useful unless you call the configure script with --enable-libglade\n");
- return 0;
-}
-
-#endif /* USE_LIBGLADE */
|