summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-02-04 07:05:29 +0000
committerTim Janik <timj@src.gnome.org>2001-02-04 07:05:29 +0000
commit89a0a894bcffc29402d4f8add87168ddd5fc6b60 (patch)
treef642964ce0b8e5d648702c3d9cc53cfddb11b2f7 /tests
parentf2ceb1c46a7b5dc9e2b6baa4bcf543601dc5d986 (diff)
downloadgtk+-89a0a894bcffc29402d4f8add87168ddd5fc6b60.tar.gz
removed gtk_signal_init() compat define.
Sun Feb 4 07:55:17 2001 Tim Janik <timj@gtk.org> * gtk/gtksignal.h: removed gtk_signal_init() compat define. * gtk/gtktypeutils.[hc]: gtk_tpye_init() take an additional argument GTypeDebugFlags debug_flags and pass it on to g_type_init (); deprecated this function. * gdk/gdk.c (gdk_init_check): call g_type_init () with 0 as argument. Sun Feb 4 07:45:45 2001 Tim Janik <timj@gtk.org> * gtk/gtkdebug.h: nuke GTK_DEBUG_OBJECTS and GTK_DEBUG_SIGNALS. Sun Feb 4 07:59:57 2001 Tim Janik <timj@gtk.org> * gdk-pixbuf.h: DOH! don't include glib/gobject.h but glib-object.h, we finally need the gobject->gruntime rename. * *.c: scratched calls to g_type_init(), there's simply no point in doing that, use gtk_init().
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c9
-rw-r--r--tests/testgtkrc3
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index df318a0fed..3c0e461d9c 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -9349,6 +9349,8 @@ main (int argc, char *argv[])
{
GtkBindingSet *binding_set;
+ g_mem_set_vtable (glib_mem_profiler_table);
+
srand (time (NULL));
test_init ();
@@ -9374,16 +9376,17 @@ main (int argc, char *argv[])
create_main_window ();
gtk_main ();
-
- if (0)
+
+ if (1)
{
- sleep (1);
while (g_main_pending ())
g_main_iteration (FALSE);
sleep (1);
while (g_main_pending ())
g_main_iteration (FALSE);
}
+ g_blow_chunks ();
+ g_mem_profile ();
return 0;
}
diff --git a/tests/testgtkrc b/tests/testgtkrc
index 170ad4d1f1..784fc9a210 100644
--- a/tests/testgtkrc
+++ b/tests/testgtkrc
@@ -22,6 +22,9 @@ include "testgtkrc2"
# On Windows, if you have installed gtk-engines, try this for instance:
#include "\\windows\\gtk\\themes\\Pixmap\\gtk\\gtkrc"
+foo_number = 5
+mouse_timeout = -7
+
pixmap_path "."
style "defaultfont"