X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mgLib/blobdiff_plain/8e77431249a6351d09ad472dfdbd9fe33b4e1d1b..b3857bd983dd4a40ee6bba85cc7ad9453876efd9:/cancel.c diff --git a/cancel.c b/cancel.c index d29b823..9cd66e7 100644 --- a/cancel.c +++ b/cancel.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: cancel.c,v 1.2 1999/03/25 23:36:07 mdw Exp $ + * $Id: cancel.c,v 1.6 2004/04/08 01:36:14 mdw Exp $ * * Handle Escape keypresses, directing them to cancel buttons * @@ -12,34 +12,21 @@ * This file is part of the mgLib GTK utilities library. * * mgLib is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * 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. * * mgLib 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 General Public License for more details. + * GNU Library General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with mgLib; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Library General Public + * License along with mgLib; if not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: cancel.c,v $ - * Revision 1.2 1999/03/25 23:36:07 mdw - * Compile to nothing in absence of GTK, for the benefit of parent packages - * which contain non-GTK-dependent parts. - * - * Revision 1.1 1998/12/11 09:44:21 mdw - * Initial version. - * - */ - -#ifdef HAVE_GTK - /*----- Header files ------------------------------------------------------*/ #include @@ -79,7 +66,3 @@ void cancel(GtkWindow *win, GtkWidget *w) } /*----- That's all, folks -------------------------------------------------*/ - -#else - int mgLib_cancel = 0; -#endif