Browse Source

sync with local

sisyphus
Dustin Falgout 9 years ago
parent
commit
329a1e8083
  1. 7
      src/lightdm-webkit2-greeter-ext.c

7
src/lightdm-webkit2-greeter-ext.c

@ -749,6 +749,7 @@ login_cb(JSContextRef context,
size_t argumentCount, size_t argumentCount,
const JSValueRef arguments[], const JSValueRef arguments[],
JSValueRef *exception) { JSValueRef *exception) {
LightDMGreeter *greeter = JSObjectGetPrivate(thisObject); LightDMGreeter *greeter = JSObjectGetPrivate(thisObject);
JSStringRef arg; JSStringRef arg;
char username[1024], *session = NULL; 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) { 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", g_print("Page %" G_GUINT64_FORMAT "created for %s\n",
webkit_web_page_get_id(web_page), webkit_web_page_get_id(web_page),
webkit_web_page_get_uri(web_page) webkit_web_page_get_uri(web_page)
); );
}*/ }
static void static void

Loading…
Cancel
Save