[gtk+] Build more testapps, use G_PI instead of M_PI
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] Build more testapps, use G_PI instead of M_PI
- Date: Mon, 13 Jul 2009 07:51:45 +0000 (UTC)
commit 3750ecc8214cc4f3d5f26c02a0781e0cc3264af3
Author: Hans Breuer <hans breuer org>
Date: Fri Jul 10 13:42:46 2009 +0200
Build more testapps, use G_PI instead of M_PI
tests/makefile.msc | 16 +++++++++++-----
tests/testoffscreen.c | 2 +-
2 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/tests/makefile.msc b/tests/makefile.msc
index cc6c69c..9b097a7 100644
--- a/tests/makefile.msc
+++ b/tests/makefile.msc
@@ -42,25 +42,27 @@ all : \
TESTAPPS = \
# autotestfilechooser autotestfilesystem \
# buildertest floatingtest \
+ flicker \
objecttests \
testaccel testactions testassistant \
- testbbox \
- testcairo testcalendar testcellrenderertext testcombo testcombochange \
+ testbbox testbuttons \
+ testcairo testcalendar testcellrenderertext testclientmessage testcombo testcombochange \
testdnd \
- testellipsise testentrycompletion \
+ testellipsise testentrycompletion testentryicons \
testfilechooser testfilechooserbutton testframe \
testgrouping testgtk \
testicontheme testiconview testimage testinput \
testmenus testmountoperation testmenubars testmerge testmultidisplay testmultiscreen \
testnouiprint testnotebookdnd \
+ testoffscreen testorientable \
testprint \
testrecentchooser testrecentchoosermenu testrgb testrichtext \
- testselection testspinbutton \
+ testscale testselection testspinbutton \
testtext testtoolbar testtooltips \
testtreecolumns testtreecolumnsizing testtreeedit testtreeflow testtreefocus \
testtreemodel testtreesort testtreeview treestoretest \
testsocket testsocket_child teststatusicon \
- testthreads testvolumebutton testxinerama \
+ testthreads testvolumebutton testwindows testxinerama \
simple
# syntax error : illegal character '-' in macro
@@ -81,6 +83,10 @@ EXTRA_OBJETCS = prop-editor.obj
EXTRA_LIBS = $(ATK_LIBS)
!ENDIF
+!IFDEF EXTRA_testoffscreen
+EXTRA_OBJETCS = gtkoffscreenbox.obj
+!ENDIF
+
!IFDEF EXTRA_testprint
EXTRA_OBJETCS = testprintfileoperation.obj
EXTRA_LIBS = $(PANGOCAIRO_LIBS)
diff --git a/tests/testoffscreen.c b/tests/testoffscreen.c
index f332d62..842b9c1 100644
--- a/tests/testoffscreen.c
+++ b/tests/testoffscreen.c
@@ -297,7 +297,7 @@ main (int argc,
gtk_container_add (GTK_CONTAINER (window), vbox);
scale = gtk_hscale_new_with_range (0,
- M_PI * 2,
+ G_PI * 2,
0.01);
gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]