diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-06-06 00:56:00 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-06-06 00:56:00 +0000 |
commit | 3a917e9da7774112e07a6361bbef7424d380c6a7 (patch) | |
tree | ee8d3869a1befbc61e344e47bf3a6992163bb902 /tests | |
parent | eaa77a475488d6a1ca364b848c72462446c0f6c2 (diff) | |
download | gtk+-3a917e9da7774112e07a6361bbef7424d380c6a7.tar.gz |
Add call to g_type_init() - we'll need this later, and this makes sure
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
need this later, and this makes sure that the atexit for
glib gets called after that for GDK, so atexits are
properly ordered for object leak checking.
* gdk/gdk.c (gdk_exit_func): Call gdk_windowing_exit().
* gdk/x11/gdkmain-x11.c (gdk_windowing_exit): Call
pango_x_shutdown_display()
* gtk/simple.c (main): Close window on destroy.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/simple.c b/tests/simple.c index f7a0822a08..450b3906c2 100644 --- a/tests/simple.c +++ b/tests/simple.c @@ -19,6 +19,7 @@ main (int argc, char *argv[]) window = gtk_widget_new (gtk_window_get_type (), "GtkObject::user_data", NULL, + "GtkObject::signal::destroy", gtk_main_quit, NULL, "GtkWindow::type", GTK_WINDOW_TOPLEVEL, "GtkWindow::title", "hello world", "GtkWindow::allow_grow", FALSE, |