[gnome-packagekit] Make the session RemovePackageByFiles API match what we have in kpackagekit
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Make the session RemovePackageByFiles API match what we have in kpackagekit
- Date: Tue, 21 Jun 2011 16:19:19 +0000 (UTC)
commit 8267aa8793ea9b412e1a780e5728454501812dc9
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 21 16:53:25 2011 +0100
Make the session RemovePackageByFiles API match what we have in kpackagekit
Many thanks to Kevin Kofler for spotting the problem.
src/gpk-dbus.c | 4 ++--
src/gpk-dbus.h | 2 +-
src/org.freedesktop.PackageKit.xml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gpk-dbus.c b/src/gpk-dbus.c
index fa59201..8dc19c5 100644
--- a/src/gpk-dbus.c
+++ b/src/gpk-dbus.c
@@ -441,10 +441,10 @@ gpk_dbus_install_provide_files (GpkDbus *dbus, guint32 xid, gchar **files, const
}
/**
- * gpk_dbus_remove_package_by_file:
+ * gpk_dbus_remove_package_by_files:
**/
void
-gpk_dbus_remove_package_by_file (GpkDbus *dbus, guint32 xid, gchar **files, const gchar *interaction, DBusGMethodInvocation *context)
+gpk_dbus_remove_package_by_files (GpkDbus *dbus, guint32 xid, gchar **files, const gchar *interaction, DBusGMethodInvocation *context)
{
GpkDbusTask *task;
task = gpk_dbus_create_task (dbus, xid, interaction, context);
diff --git a/src/gpk-dbus.h b/src/gpk-dbus.h
index a46382a..6949dea 100644
--- a/src/gpk-dbus.h
+++ b/src/gpk-dbus.h
@@ -118,7 +118,7 @@ void gpk_dbus_install_resources (GpkDbus *dbus,
gchar **resources,
const gchar *interaction,
DBusGMethodInvocation *context);
-void gpk_dbus_remove_package_by_file (GpkDbus *dbus,
+void gpk_dbus_remove_package_by_files (GpkDbus *dbus,
guint32 xid,
gchar **files,
const gchar *interaction,
diff --git a/src/org.freedesktop.PackageKit.xml b/src/org.freedesktop.PackageKit.xml
index 2f6dd2f..efecab8 100644
--- a/src/org.freedesktop.PackageKit.xml
+++ b/src/org.freedesktop.PackageKit.xml
@@ -453,7 +453,7 @@
</method>
<!--*****************************************************************************************-->
- <method name="RemovePackageByFile">
+ <method name="RemovePackageByFiles">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<doc:doc>
<doc:description>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]