Mercurial > hg > xemacs-beta
annotate src/dialog-gtk.c @ 5437:002cb5224e4f
Merge with 21.5 trunk.
| author | Mats Lidell <matsl@xemacs.org> |
|---|---|
| date | Mon, 15 Nov 2010 22:33:52 +0100 |
| parents | 308d34e9f07d |
| children |
| rev | line source |
|---|---|
| 462 | 1 /* Implements elisp-programmable dialog boxes -- Gtk interface. |
| 2 Copyright (C) 1993, 1994 Free Software Foundation, Inc. | |
| 3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp. | |
| 4 | |
| 5 This file is part of XEmacs. | |
| 6 | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
7 XEmacs is free software: you can redistribute it and/or modify it |
| 462 | 8 under the terms of the GNU General Public License as published by the |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
9 Free Software Foundation, either version 3 of the License, or (at your |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
10 option) any later version. |
| 462 | 11 |
| 12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
| 13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 15 for more details. | |
| 16 | |
| 17 You should have received a copy of the GNU General Public License | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
18 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 462 | 19 |
| 20 /* Synched up with: Not in FSF. */ | |
| 21 | |
| 22 #include <config.h> | |
| 23 #include "lisp.h" | |
| 24 | |
| 25 #include "buffer.h" | |
| 26 #include "commands.h" /* zmacs_regions */ | |
| 27 #include "events.h" | |
| 28 #include "frame.h" | |
| 29 #include "gui.h" | |
| 30 #include "opaque.h" | |
| 31 #include "window.h" | |
| 876 | 32 #include "console-impl.h" |
| 462 | 33 |
| 876 | 34 #include "console-gtk-impl.h" |
| 872 | 35 |
| 462 | 36 Lisp_Object Qgtk_make_dialog_box_internal; |
| 37 | |
| 38 /* We just bounce up into lisp here... see $(srcdir)/lisp/dialog-gtk.el */ | |
| 39 static Lisp_Object | |
| 2286 | 40 gtk_make_dialog_box_internal (struct frame* UNUSED (f), Lisp_Object type, |
| 41 Lisp_Object keys) | |
| 462 | 42 { |
| 43 return (call2 (Qgtk_make_dialog_box_internal, type, keys)); | |
| 44 } | |
| 45 | |
| 46 void | |
| 47 syms_of_dialog_gtk (void) | |
| 48 { | |
| 563 | 49 DEFSYMBOL (Qgtk_make_dialog_box_internal); |
| 462 | 50 } |
| 51 | |
| 52 void | |
| 53 console_type_create_dialog_gtk (void) | |
| 54 { | |
| 55 CONSOLE_HAS_METHOD (gtk, make_dialog_box_internal); | |
| 56 } | |
| 57 | |
| 58 void | |
| 59 vars_of_dialog_gtk (void) | |
| 60 { | |
| 61 Fprovide (intern ("gtk-dialogs")); | |
| 62 } |
