[nautilus] shell-provider: use the right signature for LaunchSearch()



commit e6b70a2cb8acdc1998e89e54e2a9819853f05793
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Dec 10 16:52:16 2012 -0500

    shell-provider: use the right signature for LaunchSearch()

 data/shell-search-provider-dbus-interfaces.xml |    1 +
 src/nautilus-shell-search-provider.c           |    7 ++++---
 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 13f04f5..9c7368e 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 7d12d3b..82b5a98 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]