diff options
-rw-r--r-- | shell/ev-window.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index f4600d92..3e8e096a 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -7055,10 +7055,11 @@ method_call_cb (GDBusConnection *connection, if (window->priv->document && ev_document_has_synctex (window->priv->document)) { EvSourceLink link; + guint32 timestamp; - g_variant_get (parameters, "(&s(ii))", &link.filename, &link.line, &link.col); + g_variant_get (parameters, "(&s(ii)u)", &link.filename, &link.line, &link.col, ×tamp); ev_view_highlight_forward_search (EV_VIEW (window->priv->view), &link); - gtk_window_present (GTK_WINDOW (window)); + gtk_window_present_with_time (GTK_WINDOW (window), timestamp); } g_dbus_method_invocation_return_value (invocation, g_variant_new ("()")); @@ -7070,6 +7071,7 @@ static const char introspection_xml[] = "<method name='SyncView'>" "<arg type='s' name='source_file' direction='in'/>" "<arg type='(ii)' name='source_point' direction='in'/>" + "<arg type='u' name='timestamp' direction='in'/>" "</method>" "<signal name='SyncSource'>" "<arg type='s' name='source_file' direction='out'/>" |