annotate lisp/gtk-package.el @ 2958:9e04ad6a1ac6
[xemacs-hg @ 2005-09-27 05:35:24 by ben]
Add SRC inclusion, for lib-src changes
Makefile.in.in: Always include SRC, so <config.h> in lib-src always works.
sysdep.c: Fix bit-rotted dup2 code. Also new -> new_.
nt.c: Fix possible use of uninitialized var. Also new -> new_.
text.c, event-Xt.c, lisp.h, number-gmp.c, number-gmp.h: Fix compilation warnings. A couple of changes of new -> new_,
'foo -> `foo'.
| author |
ben |
| date |
Tue, 27 Sep 2005 05:35:26 +0000 |
| parents |
7039e6323819 |
| children |
db7068430402 |
| rev |
line source |
|
462
|
1 ;; A GTK version of package-ui.el
|
|
|
2
|
|
502
|
3 (globally-declare-fboundp
|
|
|
4 '(gtk-window-new
|
|
|
5 gtk-hbox-new gtk-container-add gtk-widget-show-all))
|
|
|
6
|
|
462
|
7 (require 'package-get)
|
|
|
8 (require 'package-ui)
|
|
|
9
|
|
|
10 (defun package-gtk-edit-sites ()
|
|
|
11 (let ((window (gtk-window-new 'toplevel))
|
|
|
12 (box (gtk-hbox-new nil 5)))
|
|
|
13 (gtk-container-add window box)
|
|
|
14 (gtk-widget-show-all window)))
|