diff options
author | Tim Janik <timj@gtk.org> | 2001-02-04 07:05:29 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-02-04 07:05:29 +0000 |
commit | 89a0a894bcffc29402d4f8add87168ddd5fc6b60 (patch) | |
tree | f642964ce0b8e5d648702c3d9cc53cfddb11b2f7 /gtk/testgtk.c | |
parent | f2ceb1c46a7b5dc9e2b6baa4bcf543601dc5d986 (diff) | |
download | gdk-pixbuf-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 'gtk/testgtk.c')
-rw-r--r-- | gtk/testgtk.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/testgtk.c b/gtk/testgtk.c index df318a0fe..3c0e461d9 100644 --- a/gtk/testgtk.c +++ b/gtk/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; } |