forked from AuroraMiddleware/gtk
added a bunch of tests use g_snprintf() don't include unistd.h twice.
2006-01-06 Hans Breuer <hans@breuer.org> * tests/makefile.msc : added a bunch of tests * tests/testcellrenderertext.c : use g_snprintf() * tests/testfilechooserbutton.c : don't include unistd.h twice. Removed the unconditional one and added direct.h for G_OS_WIN32
This commit is contained in:
parent
a2c7b3f4ba
commit
b546df99ea
@ -1,3 +1,10 @@
|
||||
2006-01-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* tests/makefile.msc : added a bunch of tests
|
||||
* tests/testcellrenderertext.c : use g_snprintf()
|
||||
* tests/testfilechooserbutton.c : don't include unistd.h twice.
|
||||
Removed the unconditional one and added direct.h for G_OS_WIN32
|
||||
|
||||
2006-01-05 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/makefile.msc : also recurse into win32 for ::clean
|
||||
|
@ -1,3 +1,10 @@
|
||||
2006-01-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* tests/makefile.msc : added a bunch of tests
|
||||
* tests/testcellrenderertext.c : use g_snprintf()
|
||||
* tests/testfilechooserbutton.c : don't include unistd.h twice.
|
||||
Removed the unconditional one and added direct.h for G_OS_WIN32
|
||||
|
||||
2006-01-05 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/makefile.msc : also recurse into win32 for ::clean
|
||||
|
@ -40,14 +40,15 @@ all : \
|
||||
# Test programs:
|
||||
#
|
||||
TESTAPPS = \
|
||||
testabi testactions \
|
||||
testcairo testcalendar testcombo testcombochange \
|
||||
autotestfilechooser floatingtest \
|
||||
testaccel testactions \
|
||||
testcairo testcalendar testcellrenderertext testcombo testcombochange \
|
||||
testdnd \
|
||||
testentrycompletion \
|
||||
testfilechooser \
|
||||
testellipsise testentrycompletion \
|
||||
testfilechooser testfilechooserbutton \
|
||||
testgtk \
|
||||
testicontheme testiconview testinput \
|
||||
testmenus testmerge testmultidisplay testmultiscreen \
|
||||
testicontheme testiconview testimage testinput \
|
||||
testmenus testmenubars testmerge testmultidisplay testmultiscreen \
|
||||
testrgb \
|
||||
testselection testspinbutton \
|
||||
testtext testtextbuffer testtoolbar \
|
||||
@ -62,7 +63,7 @@ TESTAPPS = \
|
||||
|
||||
|
||||
all-test-apps:
|
||||
for %d in ($(TESTAPPS)) do nmake -nologo -f makefile.msc one-test-app THIS=%d
|
||||
@for %d in ($(TESTAPPS)) do @nmake -nologo -f makefile.msc one-test-app THIS=%d
|
||||
|
||||
one-test-app:
|
||||
@nmake -nologo -f makefile.msc $(THIS).exe TESTAPP=$(THIS) EXTRA_$(THIS)=1
|
||||
@ -73,6 +74,14 @@ one-test-app:
|
||||
EXTRA_LIBS = $(CAIRO_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testentrycompletion
|
||||
EXTRA_OBJETCS = prop-editor.obj
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testfilechooserbutton
|
||||
EXTRA_OBJETCS = prop-editor.obj
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testgtk
|
||||
EXTRA_LIBS = $(CAIRO_LIBS)
|
||||
EXTRA_OBJETCS = prop-editor.obj
|
||||
|
@ -130,7 +130,7 @@ create_list_store (void)
|
||||
|
||||
p = cell_params + i;
|
||||
|
||||
snprintf (buf, sizeof (buf), "%d", i);
|
||||
g_snprintf (buf, sizeof (buf), "%d", i);
|
||||
|
||||
gtk_list_store_append (list_store, &iter);
|
||||
gtk_list_store_set (list_store, &iter,
|
||||
|
@ -28,12 +28,15 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <direct.h> /* for _getcwd() */
|
||||
#endif
|
||||
|
||||
#include "prop-editor.h"
|
||||
|
||||
static gchar *backend = "gtk+";
|
||||
|
Loading…
Reference in New Issue
Block a user