Mercurial > hg > xemacs-beta
annotate lisp/gtk-extra.el @ 5820:b3824b7f5627
Some changes to eliminate warnings with Apple clang version 1.7.
src/ChangeLog addition:
2014-10-18 Aidan Kehoe <kehoea@parhasard.net>
Some changes to eliminate warnings with Apple clang version 1.7.
* cm.c (send_string_to_tty_console):
* doprnt.c (doprnt_2):
* doprnt.c (parse_off_posnum):
* event-stream.c (dribble_out_event):
Cast various calls to Lstream_putc() to void when the result isn't
being used, for the sake of clang.
* lisp.h:
Declare #'replace here too, it's used in event-stream.c.
* lisp.h (ALLOCA):
* lisp.h (MALLOC_OR_ALLOCA):
Cast a couple of zeros in the context of the ternary operator to
void to prevent unused value warnings with clang.
* sysdep.c (child_setup_tty):
* text.h (ASSERT_ASCTEXT_ASCII_LEN):
Use DO_NOTHING in these files to quieten the compiler.
lib-src/ChangeLog addition:
2014-10-18 Aidan Kehoe <kehoea@parhasard.net>
* ootags.c (substitute):
Cast the result of strlen to int before comparing it with a signed
value, for the sake of compiler warnings.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Sat, 18 Oct 2014 21:48:10 +0100 |
| parents | 308d34e9f07d |
| children |
| rev | line source |
|---|---|
| 462 | 1 ;;; gtk-extra.el --- Import `GTK+ Extra' widgets into XEmacs |
| 2 | |
| 3 ;; Copyright (C) 2000 Free Software Foundation | |
| 4 | |
| 5 ;; Maintainer: William Perry <wmperry@gnu.org> | |
| 6 ;; Keywords: extensions, dumped | |
| 7 | |
| 8 ;; This file is part of XEmacs. | |
| 9 | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
10 ;; XEmacs is free software: you can redistribute it and/or modify it |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
11 ;; under the terms of the GNU General Public License as published by the |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
12 ;; 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:
502
diff
changeset
|
13 ;; option) any later version. |
| 462 | 14 |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
15 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
16 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
17 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
18 ;; for more details. |
| 462 | 19 |
| 20 ;; 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:
502
diff
changeset
|
21 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
| 462 | 22 |
| 23 ;;; Synched up with: Not in FSF | |
| 24 | |
| 25 ;;; Commentary: | |
| 26 | |
| 27 ;; GTK+ Extra can be retrieved from http://magnet.fsu.edu/~feiguin/gtk | |
| 28 | |
| 29 (eval-and-compile | |
| 30 (require 'gtk-ffi)) | |
| 31 | |
| 502 | 32 (globally-declare-fboundp |
| 33 '(gtk-import-function-internal gtk-call-function)) | |
| 34 | |
| 462 | 35 ;;; gtkbordercombo.h |
| 36 (gtk-import-function GtkType gtk_border_combo_get_type) | |
| 37 (gtk-import-function GtkWidget gtk_border_combo_new) | |
| 38 | |
| 39 ;;; gtkcheckitem.h | |
| 40 (gtk-import-function GtkType gtk_check_item_get_type) | |
| 41 (gtk-import-function GtkWidget gtk_check_item_new) | |
| 42 (gtk-import-function GtkWidget gtk_check_item_new_with_label | |
| 43 (GtkString . label)) | |
| 44 | |
| 45 ;;; gtkcolorcombo.h | |
| 46 (gtk-import-function GtkType gtk_color_combo_get_type) | |
| 47 (gtk-import-function GtkWidget gtk_color_combo_new) | |
| 48 (gtk-import-function GtkWidget gtk_color_combo_new_with_values | |
| 49 (gint . nrows) | |
| 50 (gint . ncols) | |
| 51 (GtkArrayOfString . color_names)) | |
| 52 (gtk-import-function GtkString gtk_color_combo_get_color_at | |
| 53 (GtkColorCombo . combo) | |
| 54 (gint . row) | |
| 55 (gint . col)) | |
| 56 ;;;(gtk-import-function none gtk_color_combo_find_color | |
| 57 ;;; (GtkColorCombo . combo) | |
| 58 ;;; (GdkColor . color) | |
| 59 ;;; ((gint . out) . row) | |
| 60 ;;; ((gint . out) . col)) | |
| 61 | |
| 62 ;;; gtkcombobox.h | |
| 63 (gtk-import-function GtkType gtk_combobox_get_type) | |
| 64 (gtk-import-function GtkWidget gtk_combobox_new) | |
| 65 (gtk-import-function none gtk_combobox_hide_popdown_window) | |
| 66 | |
| 67 ;;; gtkdirtree.h | |
| 68 (gtk-import-function GtkType gtk_dir_tree_get_type) | |
| 69 (gtk-import-function GtkWidget gtk_dir_tree_new) | |
| 70 (gtk-import-function gint gtk_dir_tree_open_dir | |
| 71 (GtkDirTree . tree) | |
| 72 (GtkString . path)) | |
| 73 | |
| 74 ;;; gtkfilelist.h | |
| 75 (gtk-import-function GtkType gtk_file_list_get_type) | |
| 76 (gtk-import-function GtkWidget gtk_file_list_new | |
| 77 (guint . icon_width) | |
| 78 (gint . mode) | |
| 79 (GtkString . path)) | |
| 80 (gtk-import-function none gtk_file_list_set_filter | |
| 81 (GtkFileList . file_list) | |
| 82 (GtkString . filter)) | |
| 83 (gtk-import-function none gtk_file_list_open_dir | |
| 84 (GtkFileList . file_list) | |
| 85 (GtkString . path)) | |
| 86 (gtk-import-function GtkString gtk_file_list_get_path | |
| 87 (GtkFileList . file_list)) | |
| 88 (gtk-import-function GtkString gtk_file_list_get_filename | |
| 89 (GtkFileList . file_list)) | |
| 90 | |
| 91 ;;; gtkfontcombo.h | |
| 92 (gtk-import-function GtkType gtk_font_combo_get_type) | |
| 93 (gtk-import-function GtkWidget gtk_font_combo_new) | |
| 94 (gtk-import-function none gtk_font_combo_select | |
| 95 (GtkFontCombo . font_combo) | |
| 96 (GtkString . family) | |
| 97 (gboolean . bold) | |
| 98 (gboolean . italic) | |
| 99 (gint . height)) | |
| 100 (gtk-import-function none gtk_font_combo_select_nth | |
| 101 (GtkFontCombo . font_combo) | |
| 102 (gint . n) | |
| 103 (gboolean . bold) | |
| 104 (gboolean . italic) | |
| 105 (gint . height)) | |
| 106 | |
| 107 ;;; gtkiconfilesel.h | |
| 108 ;;; gtkiconlist.h | |
| 109 ;;; gtkitementry.h | |
| 110 ;;; gtkplot.h | |
| 111 ;;; gtkplotcanvas.h | |
| 112 ;;; gtkplotpc.h | |
| 113 ;;; gtkplotprint.h | |
| 114 ;;; gtkplotps.h | |
| 115 ;;; gtkpsfont.h | |
| 116 ;;; gtksheet.h | |
| 117 | |
| 118 (provide 'gtk-extra) |
