gwget r627 - in trunk: . epiphany-extension src



Author: davidsf
Date: Sun Feb 15 16:33:44 2009
New Revision: 627
URL: http://svn.gnome.org/viewvc/gwget?rev=627&view=rev

Log:
2009-02-12  David SedeÃo <david alderia com>

        * src/gwget_data.h: don't make gwget_pref be extern (fix the epiphany
        extension)
        * epiphany-extension/ephy-gwget-extension.c: Send the destination dir
        var in the call to gwget.



Modified:
   trunk/ChangeLog
   trunk/epiphany-extension/ephy-gwget-extension.c
   trunk/src/gwget_data.h

Modified: trunk/epiphany-extension/ephy-gwget-extension.c
==============================================================================
--- trunk/epiphany-extension/ephy-gwget-extension.c	(original)
+++ trunk/epiphany-extension/ephy-gwget-extension.c	Sun Feb 15 16:33:44 2009
@@ -103,6 +103,7 @@
 #if DBUS_VERSION <= 33
 	call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
 					DBUS_TYPE_STRING, &uri,
+					DBUS_TYPE_STRING, "",
 					DBUS_TYPE_UINT32, &timestamp,
 					DBUS_TYPE_INVALID);
 
@@ -115,6 +116,7 @@
 #elif DBUS_VERSION == 34
 	call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
 					G_TYPE_STRING, uri,
+					G_TYPE_STRING, "",
 					G_TYPE_UINT, &timestamp,
 					G_TYPE_INVALID);
 
@@ -127,6 +129,7 @@
 #else
 	if (!dbus_g_proxy_call (remote_object, "OpenURI", &error,
 				G_TYPE_STRING, uri,
+				G_TYPE_STRING, "",
 				G_TYPE_UINT, &timestamp,
 				G_TYPE_INVALID,
 				G_TYPE_INVALID)) {

Modified: trunk/src/gwget_data.h
==============================================================================
--- trunk/src/gwget_data.h	(original)
+++ trunk/src/gwget_data.h	Sun Feb 15 16:33:44 2009
@@ -60,7 +60,7 @@
 	gboolean trayonly;
 } Preferences;
 
-extern Preferences gwget_pref;
+Preferences gwget_pref;
 
 typedef enum
 {



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