From 9f5e4e9c3e976477ba45ba474f9bd7560b582a48 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sun, 16 Oct 2016 22:03:20 -0500 Subject: [PATCH] remove typdef work-arounds for clion bugs --- src/greeter.c | 4 ---- src/webkit2-extension.c | 8 +------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/greeter.c b/src/greeter.c index c099111..62b2100 100644 --- a/src/greeter.c +++ b/src/greeter.c @@ -46,10 +46,6 @@ #include "config.h" #include "gresource/greeter-resources.h" -/* CLion bugs */ -#ifndef gsize -/* typedef unsigned long gsize; */ -#endif static GtkWidget *web_view; static GtkWidget *window; diff --git a/src/webkit2-extension.c b/src/webkit2-extension.c index 08302e9..73db9b9 100644 --- a/src/webkit2-extension.c +++ b/src/webkit2-extension.c @@ -51,12 +51,6 @@ #include "config.h" -/* CLion bugs */ -#ifndef guint64 -typedef unsigned long guint64; -#endif - - /* Convenience macros for use in functions that can be called from JavaScript * running in the web process. They are used to confirm that calls were made by one of * the classes that we injected into the web page. @@ -1071,7 +1065,7 @@ set_language_cb(JSContextRef context, g_error_free(err); } #else - lightdm_greeter_set_language(GREETER, language); + lightdm_greeter_set_language(GREETER, language, &err); #endif g_free(language);