[gnome-color-manager] trivial: fix typo in GetProfilesForFile()



commit 4b00197c302e0322c882e18c5b296dc7a40a9621
Author: Richard Hughes <richard hughsie com>
Date:   Sat Jun 12 08:51:28 2010 +0100

    trivial: fix typo in GetProfilesForFile()

 src/gcm-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-session.c b/src/gcm-session.c
index 3488683..a1402d9 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -514,7 +514,7 @@ gcm_session_handle_method_call (GDBusConnection *connection_, const gchar *sende
 		g_variant_get (parameters, "(ss)", &filename, &hints);
 
 		/* get array of profile filenames */
-		array = gcm_session_get_profiles_for_file (device_id, &error);
+		array = gcm_session_get_profiles_for_file (filename, &error);
 		if (array == NULL) {
 			g_dbus_method_invocation_return_dbus_error (invocation,
 								    "org.gnome.ColorManager.Failed",



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