|
|
|
@ -749,6 +749,7 @@ login_cb(JSContextRef context,
|
|
|
|
|
size_t argumentCount, |
|
|
|
|
const JSValueRef arguments[], |
|
|
|
|
JSValueRef *exception) { |
|
|
|
|
|
|
|
|
|
LightDMGreeter *greeter = JSObjectGetPrivate(thisObject); |
|
|
|
|
JSStringRef arg; |
|
|
|
|
char username[1024], *session = NULL; |
|
|
|
@ -972,15 +973,15 @@ static const JSClassDefinition gettext_definition = {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*static void
|
|
|
|
|
static void |
|
|
|
|
web_page_created_callback(WebKitWebExtension *extension, WebKitWebPage *web_page, gpointer user_data) { |
|
|
|
|
|
|
|
|
|
#define G_GUINT64_FORMAT "lu" |
|
|
|
|
g_print("Page %" G_GUINT64_FORMAT "created for %s\n", |
|
|
|
|
webkit_web_page_get_id(web_page), |
|
|
|
|
webkit_web_page_get_uri(web_page) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
}*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|