]> spindle.queued.net Git - midori/commit
Provide action signals as javascript functions
authorChristian Dywan <christian@twotoasts.de>
Sat, 31 May 2008 22:21:08 +0000 (00:21 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 31 May 2008 22:21:08 +0000 (00:21 +0200)
commit8e494ba206f49d457a2d7ce2634cc1fcb3ad6a43
tree8c16fd85e4ea04e1bbf85428480a3da53cd6af0a
parent54ea63f1611810182d299b6c1edfa331d320895c
Provide action signals as javascript functions

From javscript C functions cannot be called, but signals
are available through the GObject type system. So
we allow javascript to call action signals like functions.

At the same time we modify a few browser functions, so
that they are functions that are available as signals.
src/gjs.c
src/main.c
src/midori-app.c
src/midori-browser.c
src/midori-browser.h
src/midori-preferences.c
src/sokoke.c