From 658fd4fe3bdbd9018f939245639ab22ac5cc77b9 Mon Sep 17 00:00:00 2001 From: Tarn Burton Date: Wed, 31 Jan 2018 06:22:24 -0500 Subject: [PATCH] Pass line and column to Edit signal --- zathura/dbus-interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zathura/dbus-interface.c b/zathura/dbus-interface.c index 0948117..5780960 100644 --- a/zathura/dbus-interface.c +++ b/zathura/dbus-interface.c @@ -202,7 +202,7 @@ zathura_dbus_edit(ZathuraDbus* edit, unsigned int page, unsigned int x, unsigned GError* error = NULL; g_dbus_connection_emit_signal(priv->connection, NULL, DBUS_OBJPATH, - DBUS_INTERFACE, "Edit", g_variant_new("(suu)", input_file, x, y), &error); + DBUS_INTERFACE, "Edit", g_variant_new("(suu)", input_file, line, column), &error); g_free(input_file); @@ -575,4 +575,3 @@ zathura_dbus_synctex_position(const char* filename, const char* input_file, return iterate_instances_call_synctex_view(filename, input_file, line, column, hint); } -