diff options
author | Tim Janik <timj@gtk.org> | 1998-05-11 08:31:16 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-05-11 08:31:16 +0000 |
commit | e8df8ce17b22541b2cb4a4e00628e85f1df7441f (patch) | |
tree | 5ecd187d297b9f1c9e6abcdd9492df019edd3bdc /tests | |
parent | 01003779e99dc6f0cc553993d56d876bfec60a44 (diff) | |
download | gtk+-e8df8ce17b22541b2cb4a4e00628e85f1df7441f.tar.gz |
preserve automake CFLAGS.
Mon May 11 09:56:45 1998 Tim Janik <timj@gtk.org>
* configure.in (cflags_set): preserve automake CFLAGS.
* Makefile.am: fully rename the created libraries to libgtk-1.1.la
and libgdk-1.1.la. this means we need to change certain portions of
the Makefile.am on major/minor version bumps.
* ltmain.sh: the -release option is not required anymore.
* gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
of the first argument to be of type GtkObject. unconditionally compile
this function. removed __GNUC__ dependancy of the gtk_object_ref and
gtk_object_unref macro wrappers for this function.
Mon May 11 09:53:43 1998 Tim Janik <timj@gtk.org>
* configure.in: preserve automake CFLAGS.
* Makefile.am: fully rename the created library to libglib-1.1.la.
this means we need to change certain portions of the Makefile.am on
major/minor version bumps.
* ltmain.sh: the -release option is not required anymore.
* glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
MIN, ABS and CLAMP, these macros might be screwed from other headers.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 6fd1d7119f..5e50642e95 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -3768,7 +3768,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth, for (i = num_pages + num_books; i > num_books; i--) { pages++; - sprintf (buf1, "Page %02d", random() % 100); + sprintf (buf1, "Page %02d", (gint) random() % 100); sprintf (buf2, "Item %d-%d", cur_depth, i); sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3, mask3, NULL, NULL, TRUE, FALSE); @@ -3780,7 +3780,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth, for (i = num_books; i > 0; i--) { books++; - sprintf (buf1, "Book %02d", random() % 100); + sprintf (buf1, "Book %02d", (gint) random() % 100); sprintf (buf2, "Item %d-%d", cur_depth, i); sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1, mask1, pixmap2, mask2, FALSE, FALSE); |