summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-12-10 16:52:16 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-12-10 16:52:36 -0500
commite6b70a2cb8acdc1998e89e54e2a9819853f05793 (patch)
tree45920a4c4c2703252b326623a20e4d212b0de5e9
parent1c1551adac7933701cfd973ba4148de921b1470e (diff)
downloadnautilus-e6b70a2cb8acdc1998e89e54e2a9819853f05793.tar.gz
shell-provider: use the right signature for LaunchSearch()
-rw-r--r--data/shell-search-provider-dbus-interfaces.xml1
-rw-r--r--src/nautilus-shell-search-provider.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/data/shell-search-provider-dbus-interfaces.xml b/data/shell-search-provider-dbus-interfaces.xml
index 13f04f5bf..9c7368eba 100644
--- a/data/shell-search-provider-dbus-interfaces.xml
+++ b/data/shell-search-provider-dbus-interfaces.xml
@@ -40,6 +40,7 @@
</method>
<method name = 'LaunchSearch'>
<arg type='as' name='Terms' direction='in' />
+ <arg type='u' name='Timestamp' direction='in' />
</method>
</interface>
</node>
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c
index 7d12d3b97..82b5a9801 100644
--- a/src/nautilus-shell-search-provider.c
+++ b/src/nautilus-shell-search-provider.c
@@ -655,9 +655,10 @@ handle_activate_result (NautilusShellSearchProvider2 *skeleton,
static void
handle_launch_search (NautilusShellSearchProvider2 *skeleton,
- GDBusMethodInvocation *invocation,
- gchar **terms,
- gpointer user_data)
+ GDBusMethodInvocation *invocation,
+ gchar **terms,
+ guint32 timestamp,
+ gpointer user_data)
{
GApplication *app = g_application_get_default ();
gchar *string = g_strjoinv (" ", terms);