+2002-04-26 Sven Neumann <sven@gimp.org>
+
+ * tests/testtreecolumns.c
+ * tests/testtreeview.c: quit the main loop when the window is
+ destroyed. Removed compiler warnings about wrong format in printf().
+
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
+2002-04-26 Sven Neumann <sven@gimp.org>
+
+ * tests/testtreecolumns.c
+ * tests/testtreeview.c: quit the main loop when the window is
+ destroyed. Removed compiler warnings about wrong format in printf().
+
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
+2002-04-26 Sven Neumann <sven@gimp.org>
+
+ * tests/testtreecolumns.c
+ * tests/testtreeview.c: quit the main loop when the window is
+ destroyed. Removed compiler warnings about wrong format in printf().
+
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
+2002-04-26 Sven Neumann <sven@gimp.org>
+
+ * tests/testtreecolumns.c
+ * tests/testtreeview.c: quit the main loop when the window is
+ destroyed. Removed compiler warnings about wrong format in printf().
+
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
+2002-04-26 Sven Neumann <sven@gimp.org>
+
+ * tests/testtreecolumns.c
+ * tests/testtreeview.c: quit the main loop when the window is
+ destroyed. Removed compiler warnings about wrong format in printf().
+
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
+2002-04-26 Sven Neumann <sven@gimp.org>
+
+ * tests/testtreecolumns.c
+ * tests/testtreeview.c: quit the main loop when the window is
+ destroyed. Removed compiler warnings about wrong format in printf().
+
Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
This commit fixes binary compatibility, which I broke with my
/* Set up the test windows. */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
gtk_window_set_default_size (GTK_WINDOW (window), 300, 300);
gtk_window_set_title (GTK_WINDOW (window), "Top Window");
swindow = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_show_all (window);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
gtk_window_set_default_size (GTK_WINDOW (window), 300, 300);
gtk_window_set_title (GTK_WINDOW (window), "Bottom Window");
swindow = gtk_scrolled_window_new (NULL, NULL);
/* Set up the main window */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
gtk_window_set_default_size (GTK_WINDOW (window), 500, 300);
vbox = gtk_vbox_new (FALSE, 8);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
run_automated_tests ();
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
gtk_window_set_default_size (GTK_WINDOW (window), 400, 400);
table = gtk_table_new (3, 1, FALSE);
g_value_init (value, G_TYPE_STRING);
- str = g_strdup_printf ("%d", type);
+ str = g_strdup_printf ("%ld", type);
g_value_set_string (value, str);
g_free (str);
}
if (parent == G_TYPE_INVALID)
{
if (type > G_TYPE_FUNDAMENTAL_MAX)
- g_warning ("no parent for %d %s\n", type, g_type_name (type));
+ g_warning ("no parent for %ld %s\n", type, g_type_name (type));
return FALSE;
}
else