[file-roller] Fixed GetSupportedTypes method name
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Fixed GetSupportedTypes method name
- Date: Tue, 30 Nov 2010 20:39:02 +0000 (UTC)
commit 1399b9a84b0d4f4a5015066b0d7cec7e048d59dc
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Nov 30 21:37:06 2010 +0100
Fixed GetSupportedTypes method name
[bug #636125]
src/server.c | 6 +++---
src/test-server.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/server.c b/src/server.c
index 4d8376b..9fa7ead 100644
--- a/src/server.c
+++ b/src/server.c
@@ -37,7 +37,7 @@ static const char introspection_xml[] =
" <interface name='org.gnome.ArchiveManager'>"
/**
- * GetSuppertedTypes:
+ * GetSupportedTypes:
*
* Returns the supported archive types for a specific action.
*
@@ -59,7 +59,7 @@ static const char introspection_xml[] =
* *) description: a human readable description of the archive type.
*/
- " <method name='GetSuppertedTypes'>"
+ " <method name='GetSupportedTypes'>"
" <arg name='action' type='s' direction='in'/>"
" <arg name='types' type='aa{ss}' direction='out'/>"
" </method>"
@@ -224,7 +224,7 @@ handle_method_call (GDBusConnection *connection,
{
update_registered_commands_capabilities ();
- if (g_strcmp0 (method_name, "GetSuppertedTypes") == 0) {
+ if (g_strcmp0 (method_name, "GetSupportedTypes") == 0) {
char *action;
int *supported_types = NULL;
diff --git a/src/test-server.c b/src/test-server.c
index 813705f..3a10f1e 100644
--- a/src/test-server.c
+++ b/src/test-server.c
@@ -162,10 +162,10 @@ main (int argc, char *argv[])
NULL);
#if 0
- /* -- GetSuppertedTypes -- */
+ /* -- GetSupportedTypes -- */
g_dbus_proxy_call (proxy,
- "GetSuppertedTypes",
+ "GetSupportedTypes",
g_variant_new ("(s)", "create"),
G_DBUS_CALL_FLAGS_NONE,
G_MAXINT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]