summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/simple.c19
-rw-r--r--tests/testactions.c19
-rw-r--r--tests/testcombo.c18
-rw-r--r--tests/testcombochange.c20
-rw-r--r--tests/testdnd.c20
-rw-r--r--tests/testentrycompletion.c19
-rw-r--r--tests/testfilechooser.c19
-rw-r--r--tests/testicontheme.c20
-rw-r--r--tests/testmenubars.c20
-rw-r--r--tests/testmenus.c20
-rw-r--r--tests/testmerge.c19
-rw-r--r--tests/testmultidisplay.c20
-rw-r--r--tests/testmultiscreen.c20
-rw-r--r--tests/testsocket.c68
-rw-r--r--tests/testsocket_child.c20
-rw-r--r--tests/testsocket_common.c20
-rw-r--r--tests/testspinbutton.c19
-rw-r--r--tests/testtext.c20
-rw-r--r--tests/testtextbuffer.c21
-rw-r--r--tests/testtreecolumns.c20
-rw-r--r--tests/testtreeedit.c20
-rw-r--r--tests/testtreeflow.c20
-rw-r--r--tests/testtreefocus.c20
-rw-r--r--tests/testtreesort.c20
-rw-r--r--tests/testtreeview.c20
-rw-r--r--tests/testxinerama.c20
-rw-r--r--tests/treestoretest.c19
27 files changed, 570 insertions, 10 deletions
diff --git a/tests/simple.c b/tests/simple.c
index 46dfd15d5..5fd6822e3 100644
--- a/tests/simple.c
+++ b/tests/simple.c
@@ -1,3 +1,22 @@
+/* simple.c
+ * Copyright (C) 1997 Red Hat, Inc
+ * Author: Elliot Lee
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testactions.c b/tests/testactions.c
index 3c9a50789..4f971c2fd 100644
--- a/tests/testactions.c
+++ b/tests/testactions.c
@@ -1,3 +1,22 @@
+/* testactions.c
+ * Copyright (C) 2003 Matthias Clasen
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testcombo.c b/tests/testcombo.c
index b8b19218e..c2b839ea2 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -1,3 +1,21 @@
+/* testcombo.c
+ * Copyright (C) 2003 Kristian Rietveld
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testcombochange.c b/tests/testcombochange.c
index a58efda26..b67b0f50f 100644
--- a/tests/testcombochange.c
+++ b/tests/testcombochange.c
@@ -1,3 +1,23 @@
+/* testcombochange.c
+ * Copyright (C) 2004 Red Hat, Inc.
+ * Author: Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
#include <stdarg.h>
diff --git a/tests/testdnd.c b/tests/testdnd.c
index a3904ae9b..d2e9a5c48 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -1,3 +1,23 @@
+/* testdnd.c
+ * Copyright (C) 1998 Red Hat, Inc.
+ * Author: Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include "gtk/gtk.h"
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c
index 18dbb32df..b806b016b 100644
--- a/tests/testentrycompletion.c
+++ b/tests/testentrycompletion.c
@@ -1,3 +1,22 @@
+/* testentrycompletion.c
+ * Copyright (C) 2004 Red Hat, Inc.
+ * Author: Matthias Clasen
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include <config.h>
#include <stdlib.h>
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 41a54e9b2..49e218dfd 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -1,3 +1,22 @@
+/* testfilechooser.c
+ * Copyright (C) 2003 Red Hat, Inc.
+ * Author: Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include <config.h>
#include <string.h>
diff --git a/tests/testicontheme.c b/tests/testicontheme.c
index 6ac8d59f3..a5ded578d 100644
--- a/tests/testicontheme.c
+++ b/tests/testicontheme.c
@@ -1,3 +1,23 @@
+/* testicontheme.c
+ * Copyright (C) 2002, 2003 Red Hat, Inc.
+ * Authors: Alexander Larsson, Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tests/testmenubars.c b/tests/testmenubars.c
index 741bf4685..27e26357f 100644
--- a/tests/testmenubars.c
+++ b/tests/testmenubars.c
@@ -1,9 +1,21 @@
-/* Menubars
+/* testmenubars.c -- test different packing directions
+ * Copyright (C) 2005 Red Hat, Inc.
+ * Author: Matthias Clasen
*
- * This program tests different packing directions
- * of menu bars.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
*
- * Written by Matthias Clasen <mclasen@redhat.com>
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
*/
#include <gtk/gtk.h>
diff --git a/tests/testmenus.c b/tests/testmenus.c
index f4c963872..81c196420 100644
--- a/tests/testmenus.c
+++ b/tests/testmenus.c
@@ -1,9 +1,21 @@
-/* Menus
+/* testmenus.c -- dynamically add and remove items to a menu
+ * Copyright (C) 2002 Red Hat, Inc.
+ * Author: Owen Taylor
*
- * This program dynamically adds and removes items to a menu to test that
- * scroll arrows operate correctly.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
*
- * Written by Owen Taylor <otaylor@redhat.com>
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
diff --git a/tests/testmerge.c b/tests/testmerge.c
index 7a2654d73..6832f759d 100644
--- a/tests/testmerge.c
+++ b/tests/testmerge.c
@@ -1,3 +1,22 @@
+/* testmerge.c
+ * Copyright (C) 2003 James Henstridge
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <stdio.h>
diff --git a/tests/testmultidisplay.c b/tests/testmultidisplay.c
index 060202a5d..5c5006600 100644
--- a/tests/testmultidisplay.c
+++ b/tests/testmultidisplay.c
@@ -1,3 +1,23 @@
+/* testmultidisplay.c
+ * Copyright (C) 2001 Sun Microsystems Inc.
+ * Author: Erwann Chenede <erwann.chenede@sun.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
#include <gtk/gtkstock.h>
diff --git a/tests/testmultiscreen.c b/tests/testmultiscreen.c
index ba7170e17..1786545fb 100644
--- a/tests/testmultiscreen.c
+++ b/tests/testmultiscreen.c
@@ -1,3 +1,23 @@
+/* testmultidisplay.c
+ * Copyright (C) 2001 Sun Microsystems Inc.
+ * Author: Erwann Chenede <erwann.chenede@sun.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testsocket.c b/tests/testsocket.c
index 41e827673..468242952 100644
--- a/tests/testsocket.c
+++ b/tests/testsocket.c
@@ -1,3 +1,24 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 2 -*- */
+/* testsocket.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
@@ -269,6 +290,45 @@ add_local_passive_child (GtkWidget *window)
gtk_socket_add_id (GTK_SOCKET (socket->socket), xid);
}
+static const char *
+grab_string (int status)
+{
+ switch (status) {
+ case GDK_GRAB_SUCCESS: return "GrabSuccess";
+ case GDK_GRAB_ALREADY_GRABBED: return "AlreadyGrabbed";
+ case GDK_GRAB_INVALID_TIME: return "GrabInvalidTime";
+ case GDK_GRAB_NOT_VIEWABLE: return "GrabNotViewable";
+ case GDK_GRAB_FROZEN: return "GrabFrozen";
+ default:
+ {
+ static char foo [255];
+ sprintf (foo, "unknown status: %d", status);
+ return foo;
+ }
+ }
+}
+
+static void
+grab_window_toggled (GtkToggleButton *button,
+ GtkWidget *widget)
+{
+
+ if (gtk_toggle_button_get_active (button))
+ {
+ int status;
+
+ status = gdk_keyboard_grab (widget->window, FALSE, GDK_CURRENT_TIME);
+
+ if (status != GDK_GRAB_SUCCESS)
+ g_warning ("Could not grab keyboard! (%s)", grab_string (status));
+
+ }
+ else
+ {
+ gdk_keyboard_ungrab (GDK_CURRENT_TIME);
+ }
+}
+
int
main (int argc, char *argv[])
{
@@ -276,6 +336,7 @@ main (int argc, char *argv[])
GtkWidget *hbox;
GtkWidget *vbox;
GtkWidget *entry;
+ GtkWidget *checkbutton;
GtkAccelGroup *accel_group;
GtkItemFactory *item_factory;
@@ -334,6 +395,13 @@ main (int argc, char *argv[])
g_signal_connect_swapped (button, "clicked",
G_CALLBACK (remove_child), vbox);
+ checkbutton = gtk_check_button_new_with_label ("Grab keyboard");
+ gtk_box_pack_start (GTK_BOX (vbox), checkbutton, FALSE, FALSE, 0);
+
+ g_signal_connect (checkbutton, "toggled",
+ G_CALLBACK (grab_window_toggled),
+ window);
+
hbox = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
diff --git a/tests/testsocket_child.c b/tests/testsocket_child.c
index d0bbbb6bd..4fe354b79 100644
--- a/tests/testsocket_child.c
+++ b/tests/testsocket_child.c
@@ -1,3 +1,23 @@
+/* testsocket_child.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/tests/testsocket_common.c b/tests/testsocket_common.c
index 1783a65a8..6d374de98 100644
--- a/tests/testsocket_common.c
+++ b/tests/testsocket_common.c
@@ -1,3 +1,23 @@
+/* testsocket_common.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Owen Taylor
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
diff --git a/tests/testspinbutton.c b/tests/testspinbutton.c
index 9027a973f..67af1970c 100644
--- a/tests/testspinbutton.c
+++ b/tests/testspinbutton.c
@@ -1,3 +1,22 @@
+/* testspinbutton.c
+ * Copyright (C) 2004 Morten Welinder
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testtext.c b/tests/testtext.c
index 85d312c5b..05cf1f045 100644
--- a/tests/testtext.c
+++ b/tests/testtext.c
@@ -1,3 +1,23 @@
+/* testtext.c
+ * Copyright (C) 2000 Red Hat, Inc
+ * Author: Havoc Pennington
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <stdio.h>
#include <sys/stat.h>
diff --git a/tests/testtextbuffer.c b/tests/testtextbuffer.c
index 862285141..5da1cab0d 100644
--- a/tests/testtextbuffer.c
+++ b/tests/testtextbuffer.c
@@ -1,5 +1,22 @@
-/* Simplistic test suite */
-
+/* testtextbuffer.c -- Simplistic test suite
+ * Copyright (C) 2000 Red Hat, Inc
+ * Author: Havoc Pennington
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include <config.h>
#include <stdio.h>
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c
index fd0b99954..f7edc6122 100644
--- a/tests/testtreecolumns.c
+++ b/tests/testtreecolumns.c
@@ -1,3 +1,23 @@
+/* testtreecolumns.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testtreeedit.c b/tests/testtreeedit.c
index a4fc8da10..3c7f21f06 100644
--- a/tests/testtreeedit.c
+++ b/tests/testtreeedit.c
@@ -1,3 +1,23 @@
+/* testtreeedit.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index 979e1c8a8..1af0b6e72 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -1,3 +1,23 @@
+/* testtreeflow.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testtreefocus.c b/tests/testtreefocus.c
index 123a88b37..924e4f75c 100644
--- a/tests/testtreefocus.c
+++ b/tests/testtreefocus.c
@@ -1,3 +1,23 @@
+/* testtreefocus.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testtreesort.c b/tests/testtreesort.c
index 74b5c276e..622f678fb 100644
--- a/tests/testtreesort.c
+++ b/tests/testtreesort.c
@@ -1,3 +1,23 @@
+/* testtreesort.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index df0ff2c14..d1fd5ef17 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -1,3 +1,23 @@
+/* testtreeview.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include <string.h>
diff --git a/tests/testxinerama.c b/tests/testxinerama.c
index 5517d4e64..bd0fceaeb 100644
--- a/tests/testxinerama.c
+++ b/tests/testxinerama.c
@@ -1,3 +1,23 @@
+/* testmultidisplay.c
+ * Copyright (C) 2001 Sun Microsystems Inc.
+ * Author: Erwann Chenede <erwann.chenede@sun.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/tests/treestoretest.c b/tests/treestoretest.c
index f921560a5..7d5b5b1e4 100644
--- a/tests/treestoretest.c
+++ b/tests/treestoretest.c
@@ -1,3 +1,22 @@
+/* treestoretest.c
+ * Copyright (C) 2001 Red Hat, Inc
+ * Author: Jonathan Blandford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
#include <config.h>
#include <gtk/gtk.h>
#include <stdlib.h>