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 = \ TESTAPPS = \
# autotestfilechooser autotestfilesystem \ # autotestfilechooser autotestfilesystem \
# buildertest floatingtest \ # buildertest floatingtest \
flicker \
objecttests \ objecttests \
testaccel testactions testassistant \ testaccel testactions testassistant \
testbbox \ testbbox testbuttons \
testcairo testcalendar testcellrenderertext testcombo testcombochange \ testcairo testcalendar testcellrenderertext testclientmessage testcombo testcombochange \
testdnd \ testdnd \
testellipsise testentrycompletion \ testellipsise testentrycompletion testentryicons \
testfilechooser testfilechooserbutton testframe \ testfilechooser testfilechooserbutton testframe \
testgrouping testgtk \ testgrouping testgtk \
testicontheme testiconview testimage testinput \ testicontheme testiconview testimage testinput \
testmenus testmountoperation testmenubars testmerge testmultidisplay testmultiscreen \ testmenus testmountoperation testmenubars testmerge testmultidisplay testmultiscreen \
testnouiprint testnotebookdnd \ testnouiprint testnotebookdnd \
testoffscreen testorientable \
testprint \ testprint \
testrecentchooser testrecentchoosermenu testrgb testrichtext \ testrecentchooser testrecentchoosermenu testrgb testrichtext \
testselection testspinbutton \ testscale testselection testspinbutton \
testtext testtoolbar testtooltips \ testtext testtoolbar testtooltips \
testtreecolumns testtreecolumnsizing testtreeedit testtreeflow testtreefocus \ testtreecolumns testtreecolumnsizing testtreeedit testtreeflow testtreefocus \
testtreemodel testtreesort testtreeview treestoretest \ testtreemodel testtreesort testtreeview treestoretest \
testsocket testsocket_child teststatusicon \ testsocket testsocket_child teststatusicon \
testthreads testvolumebutton testxinerama \ testthreads testvolumebutton testwindows testxinerama \
simple simple
# syntax error : illegal character '-' in macro # syntax error : illegal character '-' in macro
@ -81,6 +83,10 @@ EXTRA_OBJETCS = prop-editor.obj
EXTRA_LIBS = $(ATK_LIBS) EXTRA_LIBS = $(ATK_LIBS)
!ENDIF !ENDIF
!IFDEF EXTRA_testoffscreen
EXTRA_OBJETCS = gtkoffscreenbox.obj
!ENDIF
!IFDEF EXTRA_testprint !IFDEF EXTRA_testprint
EXTRA_OBJETCS = testprintfileoperation.obj EXTRA_OBJETCS = testprintfileoperation.obj
EXTRA_LIBS = $(PANGOCAIRO_LIBS) EXTRA_LIBS = $(PANGOCAIRO_LIBS)

View File

@ -297,7 +297,7 @@ main (int argc,
gtk_container_add (GTK_CONTAINER (window), vbox); gtk_container_add (GTK_CONTAINER (window), vbox);
scale = gtk_hscale_new_with_range (0, scale = gtk_hscale_new_with_range (0,
M_PI * 2, G_PI * 2,
0.01); 0.01);
gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);