[gwget] Fix Dbus call in epiphany extension



commit 402b77bb3952be11ca5bde12bd38f9d0f6550624
Author: David Sedeño <david alderia com>
Date:   Sat Oct 3 20:11:36 2009 +0200

    Fix Dbus call in epiphany extension

 ChangeLog                                 |    4 ++++
 epiphany-extension/ephy-gwget-extension.c |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2c657c6..75a1c1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-03  David Sedeño <david alderia com>
+
+  * epiphany-extension/ephy-gwget-extension.c: Fix Dbus call.
+
 2009-08-14  David Sedeño <david alderia com>
   
   * data/Makefile.am: Fix --disable-schemas-install. Pach from Vincent Untz
diff --git a/epiphany-extension/ephy-gwget-extension.c b/epiphany-extension/ephy-gwget-extension.c
index 710d714..965af05 100644
--- a/epiphany-extension/ephy-gwget-extension.c
+++ b/epiphany-extension/ephy-gwget-extension.c
@@ -105,7 +105,7 @@ handle_content_cb (EphyEmbedSingle *single,
 #endif
 
 #if DBUS_VERSION <= 33
-	call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
+	call = dbus_g_proxy_begin_call (remote_object, "OpenURIDest",
 					DBUS_TYPE_STRING, &uri,
 					DBUS_TYPE_STRING, "",
 					DBUS_TYPE_UINT32, &timestamp,
@@ -118,7 +118,7 @@ handle_content_cb (EphyEmbedSingle *single,
 		continue;
 	}
 #elif DBUS_VERSION == 34
-	call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
+	call = dbus_g_proxy_begin_call (remote_object, "OpenURIDest",
 					G_TYPE_STRING, uri,
 					G_TYPE_STRING, "",
 					G_TYPE_UINT, &timestamp,
@@ -131,7 +131,7 @@ handle_content_cb (EphyEmbedSingle *single,
 		continue;
 	}
 #else
-	if (!dbus_g_proxy_call (remote_object, "OpenURI", &error,
+	if (!dbus_g_proxy_call (remote_object, "OpenURIDest", &error,
 				G_TYPE_STRING, uri,
 				G_TYPE_STRING, "",
 				G_TYPE_UINT, &timestamp,



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