summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2018-09-28 23:48:51 +0200
committerDaniel Carl <danielcarl@gmx.de>2018-09-28 23:48:51 +0200
commitaa68a2e9db775f8e699cb87346824e2045e3a84e (patch)
tree09a365c7430d2aff21c47f031e018b92897ca4ff /src
parent83c3ffa94746302185d4c525f22b42d495a62d1d (diff)
Replace tabs by spaces.
Diffstat (limited to 'src')
-rw-r--r--src/ext-proxy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ext-proxy.c b/src/ext-proxy.c
index f3ba0ab..e69cbeb 100644
--- a/src/ext-proxy.c
+++ b/src/ext-proxy.c
@@ -195,11 +195,11 @@ static void on_vertical_scroll(GDBusConnection *connection,
void ext_proxy_eval_script(Client *c, char *js, GAsyncReadyCallback callback)
{
- if (callback) {
+ if (callback) {
dbus_call(c, "EvalJs", g_variant_new("(ts)", c->page_id, js), callback);
- } else {
+ } else {
dbus_call(c, "EvalJsNoResult", g_variant_new("(ts)", c->page_id, js), NULL);
- }
+ }
}
GVariant *ext_proxy_eval_script_sync(Client *c, char *js)
@@ -253,7 +253,7 @@ static void dbus_call(Client *c, const char *method, GVariant *param,
*/
static GVariant *dbus_call_sync(Client *c, const char *method, GVariant *param)
{
- GVariant *result = NULL;
+ GVariant *result = NULL;
GError *error = NULL;
if (!c->dbusproxy) {
@@ -268,7 +268,7 @@ static GVariant *dbus_call_sync(Client *c, const char *method, GVariant *param)
g_error_free(error);
}
- return result;
+ return result;
}
/**