[gnome-packagekit] trivial: don't send gpk_dbus_task_install_package_files_check_type_get_content_type junk data
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] trivial: don't send gpk_dbus_task_install_package_files_check_type_get_content_type junk data
- Date: Thu, 4 Jun 2009 10:16:20 -0400 (EDT)
commit c248c00b864d71944d82b6f01ee67ebb064020c1
Author: Richard Hughes <richard hughsie com>
Date: Thu Jun 4 15:02:38 2009 +0100
trivial: don't send gpk_dbus_task_install_package_files_check_type_get_content_type junk data
---
src/gpk-dbus-task.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index 21cdd74..a2ef971 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -1666,7 +1666,7 @@ out:
* gpk_dbus_task_install_package_files_check_type_get_content_type:
**/
static gchar *
-gpk_dbus_task_install_package_files_check_type_get_content_type (GpkDbusTask *task, const gchar *filename, GError **error)
+gpk_dbus_task_install_package_files_check_type_get_content_type (const gchar *filename, GError **error)
{
GError *error_local = NULL;
GFile *file;
@@ -1728,7 +1728,7 @@ gpk_dbus_task_install_package_files_check_type (GpkDbusTask *task, GPtrArray *ar
data = (const gchar *) g_ptr_array_index (array, i);
/* get content type for this file */
- content_type = gpk_dbus_task_install_package_files_check_type_get_content_type (task, data, error);
+ content_type = gpk_dbus_task_install_package_files_check_type_get_content_type (data, error);
if (content_type == NULL)
goto out;
egg_warning ("content_type=%s", content_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]