summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog35
-rw-r--r--ChangeLog.pre-2-1035
-rw-r--r--ChangeLog.pre-2-835
-rw-r--r--gtk/gtktextbtree.h26
-rw-r--r--gtk/gtktextchildprivate.h2
-rw-r--r--gtk/gtktextiterprivate.h26
-rw-r--r--gtk/gtktextsegment.h26
-rw-r--r--gtk/gtktexttag.h49
-rw-r--r--gtk/gtktexttagprivate.h26
-rw-r--r--gtk/gtktexttypes.c26
-rw-r--r--gtk/gtktexttypes.h26
-rw-r--r--gtk/gtktextutil.c1
-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
39 files changed, 881 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 739b8a99df..677891235f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,40 @@
2005-07-13 Matthias Clasen <mclasen@redhat.com>
+ * tests/treestoretest.c:
+ * tests/testxinerama.c:
+ * tests/testtreeview.c:
+ * tests/testtreefocus.c:
+ * tests/testtreeflow.c:
+ * tests/testtreeedit.c:
+ * tests/testtreecolumns.c:
+ * tests/testtext.c:
+ * tests/testtextbuffer.c:
+ * tests/testspinbutton.c:
+ * tests/testsocket_common.c:
+ * tests/testsocket_child.c:
+ * tests/testsocket.c:
+ * tests/testmultiscreen.c:
+ * tests/testmultidisplay.c:
+ * tests/testmerge.c:
+ * tests/testmenus.c:
+ * tests/testmenubars.c:
+ * tests/testicontheme.c:
+ * tests/testfilechooser.c:
+ * tests/testentrycompletion.c:
+ * tests/testdnd.c:
+ * tests/testcombochange.c:
+ * tests/testactions.c:
+ * tests/testcombo.c:
+ * tests/simple.c:
+ * gtk/gtktextutil.c:
+ * gtk/gtktexttypes.h:
+ * gtk/gtktexttypes.c:
+ * gtk/gtktexttagprivate.h:
+ * gtk/gtktextsegment.h:
+ * gtk/gtktextiterprivate.h:
+ * gtk/gtktextchildprivate.h:
+ * gtk/gtktextbtree.h: Add Copyright/License information.
+
* gtk/gtkicontheme.c (gtk_icon_theme_get_default)
(gtk_icon_theme_get_for_screen): Add a warning about
unreffing icon themes. (#310163, Rodney Dawes)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 739b8a99df..677891235f 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,5 +1,40 @@
2005-07-13 Matthias Clasen <mclasen@redhat.com>
+ * tests/treestoretest.c:
+ * tests/testxinerama.c:
+ * tests/testtreeview.c:
+ * tests/testtreefocus.c:
+ * tests/testtreeflow.c:
+ * tests/testtreeedit.c:
+ * tests/testtreecolumns.c:
+ * tests/testtext.c:
+ * tests/testtextbuffer.c:
+ * tests/testspinbutton.c:
+ * tests/testsocket_common.c:
+ * tests/testsocket_child.c:
+ * tests/testsocket.c:
+ * tests/testmultiscreen.c:
+ * tests/testmultidisplay.c:
+ * tests/testmerge.c:
+ * tests/testmenus.c:
+ * tests/testmenubars.c:
+ * tests/testicontheme.c:
+ * tests/testfilechooser.c:
+ * tests/testentrycompletion.c:
+ * tests/testdnd.c:
+ * tests/testcombochange.c:
+ * tests/testactions.c:
+ * tests/testcombo.c:
+ * tests/simple.c:
+ * gtk/gtktextutil.c:
+ * gtk/gtktexttypes.h:
+ * gtk/gtktexttypes.c:
+ * gtk/gtktexttagprivate.h:
+ * gtk/gtktextsegment.h:
+ * gtk/gtktextiterprivate.h:
+ * gtk/gtktextchildprivate.h:
+ * gtk/gtktextbtree.h: Add Copyright/License information.
+
* gtk/gtkicontheme.c (gtk_icon_theme_get_default)
(gtk_icon_theme_get_for_screen): Add a warning about
unreffing icon themes. (#310163, Rodney Dawes)
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 739b8a99df..677891235f 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,5 +1,40 @@
2005-07-13 Matthias Clasen <mclasen@redhat.com>
+ * tests/treestoretest.c:
+ * tests/testxinerama.c:
+ * tests/testtreeview.c:
+ * tests/testtreefocus.c:
+ * tests/testtreeflow.c:
+ * tests/testtreeedit.c:
+ * tests/testtreecolumns.c:
+ * tests/testtext.c:
+ * tests/testtextbuffer.c:
+ * tests/testspinbutton.c:
+ * tests/testsocket_common.c:
+ * tests/testsocket_child.c:
+ * tests/testsocket.c:
+ * tests/testmultiscreen.c:
+ * tests/testmultidisplay.c:
+ * tests/testmerge.c:
+ * tests/testmenus.c:
+ * tests/testmenubars.c:
+ * tests/testicontheme.c:
+ * tests/testfilechooser.c:
+ * tests/testentrycompletion.c:
+ * tests/testdnd.c:
+ * tests/testcombochange.c:
+ * tests/testactions.c:
+ * tests/testcombo.c:
+ * tests/simple.c:
+ * gtk/gtktextutil.c:
+ * gtk/gtktexttypes.h:
+ * gtk/gtktexttypes.c:
+ * gtk/gtktexttagprivate.h:
+ * gtk/gtktextsegment.h:
+ * gtk/gtktextiterprivate.h:
+ * gtk/gtktextchildprivate.h:
+ * gtk/gtktextbtree.h: Add Copyright/License information.
+
* gtk/gtkicontheme.c (gtk_icon_theme_get_default)
(gtk_icon_theme_get_for_screen): Add a warning about
unreffing icon themes. (#310163, Rodney Dawes)
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h
index 9881dfd43f..2b2d17cba1 100644
--- a/gtk/gtktextbtree.h
+++ b/gtk/gtktextbtree.h
@@ -1,3 +1,29 @@
+/* GTK - The GIMP Toolkit
+ * gtktextbtree.h Copyright (C) 2000 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#ifndef __GTK_TEXT_BTREE_H__
#define __GTK_TEXT_BTREE_H__
diff --git a/gtk/gtktextchildprivate.h b/gtk/gtktextchildprivate.h
index 7ef2e0beec..0c9b19c141 100644
--- a/gtk/gtktextchildprivate.h
+++ b/gtk/gtktextchildprivate.h
@@ -1,4 +1,4 @@
-/* gtktextchild.c - child pixmaps and widgets
+/* gtktextchildprivate.h - child pixmaps and widgets
*
* Copyright (c) 1994 The Regents of the University of California.
* Copyright (c) 1994-1997 Sun Microsystems, Inc.
diff --git a/gtk/gtktextiterprivate.h b/gtk/gtktextiterprivate.h
index b5b8506bf0..ff1893dfb3 100644
--- a/gtk/gtktextiterprivate.h
+++ b/gtk/gtktextiterprivate.h
@@ -1,3 +1,29 @@
+/* GTK - The GIMP Toolkit
+ * gtktextiterprivate.h Copyright (C) 2000 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#ifndef __GTK_TEXT_ITER_PRIVATE_H__
#define __GTK_TEXT_ITER_PRIVATE_H__
diff --git a/gtk/gtktextsegment.h b/gtk/gtktextsegment.h
index 79bda9a233..def6e25852 100644
--- a/gtk/gtktextsegment.h
+++ b/gtk/gtktextsegment.h
@@ -1,3 +1,29 @@
+/* GTK - The GIMP Toolkit
+ * gtktextsegment.h Copyright (C) 2000 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#ifndef __GTK_TEXT_SEGMENT_H__
#define __GTK_TEXT_SEGMENT_H__
diff --git a/gtk/gtktexttag.h b/gtk/gtktexttag.h
index 7207188409..d427640660 100644
--- a/gtk/gtktexttag.h
+++ b/gtk/gtktexttag.h
@@ -1,3 +1,52 @@
+/* gtktexttag.c - text tag object
+ *
+ * Copyright (c) 1992-1994 The Regents of the University of California.
+ * Copyright (c) 1994-1997 Sun Microsystems, Inc.
+ * Copyright (c) 2000 Red Hat, Inc.
+ * Tk -> Gtk port by Havoc Pennington <hp@redhat.com>
+ *
+ * This software is copyrighted by the Regents of the University of
+ * California, Sun Microsystems, Inc., and other parties. The
+ * following terms apply to all files associated with the software
+ * unless explicitly disclaimed in individual files.
+ *
+ * The authors hereby grant permission to use, copy, modify,
+ * distribute, and license this software and its documentation for any
+ * purpose, provided that existing copyright notices are retained in
+ * all copies and that this notice is included verbatim in any
+ * distributions. No written agreement, license, or royalty fee is
+ * required for any of the authorized uses. Modifications to this
+ * software may be copyrighted by their authors and need not follow
+ * the licensing terms described here, provided that the new terms are
+ * clearly indicated on the first page of each file where they apply.
+ *
+ * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY
+ * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
+ * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION,
+ * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
+ * NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS,
+ * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
+ * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+ *
+ * GOVERNMENT USE: If you are acquiring this software on behalf of the
+ * U.S. government, the Government shall have only "Restricted Rights"
+ * in the software and related documentation as defined in the Federal
+ * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
+ * are acquiring the software on behalf of the Department of Defense,
+ * the software shall be classified as "Commercial Computer Software"
+ * and the Government shall have only "Restricted Rights" as defined
+ * in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the
+ * foregoing, the authors grant the U.S. Government and others acting
+ * in its behalf permission to use and distribute the software in
+ * accordance with the terms specified in this license.
+ *
+ */
+
#ifndef __GTK_TEXT_TAG_H__
#define __GTK_TEXT_TAG_H__
diff --git a/gtk/gtktexttagprivate.h b/gtk/gtktexttagprivate.h
index 44fe225016..a7547005ac 100644
--- a/gtk/gtktexttagprivate.h
+++ b/gtk/gtktexttagprivate.h
@@ -1,3 +1,29 @@
+/* GTK - The GIMP Toolkit
+ * gtktexttagprivate.h Copyright (C) 2000 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#ifndef __GTK_TEXT_TAG_PRIVATE_H__
#define __GTK_TEXT_TAG_PRIVATE_H__
diff --git a/gtk/gtktexttypes.c b/gtk/gtktexttypes.c
index 86a79c2907..3a237bae1a 100644
--- a/gtk/gtktexttypes.c
+++ b/gtk/gtktexttypes.c
@@ -1,3 +1,29 @@
+/* GTK - The GIMP Toolkit
+ * gtktexttypes.c Copyright (C) 2000 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#include <config.h>
#include "gtktexttypes.h"
#include "gtkalias.h"
diff --git a/gtk/gtktexttypes.h b/gtk/gtktexttypes.h
index 78434d7bb5..635f6e0f50 100644
--- a/gtk/gtktexttypes.h
+++ b/gtk/gtktexttypes.h
@@ -1,3 +1,29 @@
+/* GTK - The GIMP Toolkit
+ * gtktexttypes.h Copyright (C) 2000 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#ifndef __GTK_TEXT_TYPES_H__
#define __GTK_TEXT_TYPES_H__
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c
index e9f535c7c3..945a561c74 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -1,4 +1,3 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
diff --git a/tests/simple.c b/tests/simple.c
index 46dfd15d50..5fd6822e3c 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 3c9a507892..4f971c2fdb 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 b8b19218e4..c2b839ea28 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 a58efda26f..b67b0f50fe 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 a3904ae9b1..d2e9a5c488 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 18dbb32df5..b806b016be 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 41a54e9b2e..49e218dfd6 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 6ac8d59f3d..a5ded578df 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 741bf4685d..27e26357fb 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 f4c963872c..81c1964203 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 7a2654d730..6832f759d6 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 060202a5db..5c50066007 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 ba7170e17f..1786545fb8 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 41e8276730..468242952c 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 d0bbbb6bd4..4fe354b793 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 1783a65a81..6d374de98e 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 9027a973fd..67af1970ce 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 85d312c5ba..05cf1f0454 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 8622851418..5da1cab0d6 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 fd0b999542..f7edc6122e 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 a4fc8da108..3c7f21f06c 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 979e1c8a8d..1af0b6e72c 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 123a88b376..924e4f75c0 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 74b5c276e6..622f678fb1 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 df0ff2c145..d1fd5ef172 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 5517d4e642..bd0fceaebe 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 f921560a5c..7d5b5b1e49 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>