1 (defvar gnome-init-called nil)
3 (defun gnome-init (app-id app-version argv)
11 (if (and (not (noninteractive)) (not gnome-init-called)
12 (= (gtk-type-from-name "GnomeApp") 0))
14 (gtk-call-function (gtk-import-function-internal
15 'gint "gnome_init" '(GtkString GtkString gint GtkArrayOfString))
16 (list app-id app-version (length argv) argv))
17 (setq gnome-init-called t))))
19 (require 'gnome-widgets)