Build more testapps, use G_PI instead of M_PI

This commit is contained in:
Hans Breuer 2009-07-10 13:42:46 +02:00
parent 26e67850a7
commit 3750ecc821
2 changed files with 12 additions and 6 deletions

View File

@ -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)

View File

@ -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);