diff options
Diffstat (limited to 'lib/xmessage.c')
-rw-r--r-- | lib/xmessage.c | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/lib/xmessage.c b/lib/xmessage.c index eeeae69..31fcf67 100644 --- a/lib/xmessage.c +++ b/lib/xmessage.c @@ -1,20 +1,21 @@ -/* xmessage.c: pop up a message for five seconds and then go away. +# xmessage.c: pop up a message for five seconds and then go away. +# +# Copyright (C) 1992, 2011 Free Software Foundation, Inc. +# +# This program 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 3 of the License, or +# (at your option) any later version. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# -Copyright (C) 1992, 2011 Free Software Foundation, Inc. - -This program 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 3, or (at your option) -any later version. - -This program 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. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef X_DISPLAY_MISSING /* whole file */ @@ -29,7 +30,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ static void message_over (XtPointer, XtIntervalId *); - + /* Make a popup child of the widget PARENT displaying the string S. We pass the ARGS and N_ARGS parameters to the creation routine. */ @@ -89,7 +90,7 @@ x_warning (Widget parent, string s) } - + static void message_over (XtPointer client_data, XtIntervalId *interval_id) { |