diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple.c | 19 | ||||
-rw-r--r-- | tests/testactions.c | 19 | ||||
-rw-r--r-- | tests/testcombo.c | 18 | ||||
-rw-r--r-- | tests/testcombochange.c | 20 | ||||
-rw-r--r-- | tests/testdnd.c | 20 | ||||
-rw-r--r-- | tests/testentrycompletion.c | 19 | ||||
-rw-r--r-- | tests/testfilechooser.c | 19 | ||||
-rw-r--r-- | tests/testicontheme.c | 20 | ||||
-rw-r--r-- | tests/testmenubars.c | 20 | ||||
-rw-r--r-- | tests/testmenus.c | 20 | ||||
-rw-r--r-- | tests/testmerge.c | 19 | ||||
-rw-r--r-- | tests/testmultidisplay.c | 20 | ||||
-rw-r--r-- | tests/testmultiscreen.c | 20 | ||||
-rw-r--r-- | tests/testsocket.c | 68 | ||||
-rw-r--r-- | tests/testsocket_child.c | 20 | ||||
-rw-r--r-- | tests/testsocket_common.c | 20 | ||||
-rw-r--r-- | tests/testspinbutton.c | 19 | ||||
-rw-r--r-- | tests/testtext.c | 20 | ||||
-rw-r--r-- | tests/testtextbuffer.c | 21 | ||||
-rw-r--r-- | tests/testtreecolumns.c | 20 | ||||
-rw-r--r-- | tests/testtreeedit.c | 20 | ||||
-rw-r--r-- | tests/testtreeflow.c | 20 | ||||
-rw-r--r-- | tests/testtreefocus.c | 20 | ||||
-rw-r--r-- | tests/testtreesort.c | 20 | ||||
-rw-r--r-- | tests/testtreeview.c | 20 | ||||
-rw-r--r-- | tests/testxinerama.c | 20 | ||||
-rw-r--r-- | tests/treestoretest.c | 19 |
27 files changed, 570 insertions, 10 deletions
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> |