summaryrefslogtreecommitdiffstats
path: root/glib
diff options
context:
space:
mode:
Diffstat (limited to 'glib')
-rw-r--r--glib/dbus-gidl.c5
-rw-r--r--glib/dbus-gidl.h10
2 files changed, 2 insertions, 13 deletions
diff --git a/glib/dbus-gidl.c b/glib/dbus-gidl.c
index b6e0fb8c..c1a1f6dc 100644
--- a/glib/dbus-gidl.c
+++ b/glib/dbus-gidl.c
@@ -37,7 +37,6 @@ struct MethodInfo
int refcount;
GSList *args;
char *name;
- MethodStyle style;
};
struct SignalInfo
@@ -157,15 +156,13 @@ free_arg_list (GSList **args_p)
}
MethodInfo*
-method_info_new (const char *name,
- MethodStyle style)
+method_info_new (const char *name)
{
MethodInfo *info;
info = g_new0 (MethodInfo, 1);
info->refcount = 1;
info->name = g_strdup (name);
- info->style = style;
return info;
}
diff --git a/glib/dbus-gidl.h b/glib/dbus-gidl.h
index c3c72d61..812e1866 100644
--- a/glib/dbus-gidl.h
+++ b/glib/dbus-gidl.h
@@ -40,13 +40,6 @@ typedef enum
ARG_OUT
} ArgDirection;
-typedef enum
-{
- METHOD_SYNC,
- METHOD_ASYNC,
- METHOD_CANCELLABLE
-} MethodStyle;
-
InterfaceInfo* interface_info_new (const char *name);
void interface_info_ref (InterfaceInfo *info);
void interface_info_unref (InterfaceInfo *info);
@@ -57,8 +50,7 @@ void interface_info_add_method (InterfaceInfo *info,
void interface_info_add_signal (InterfaceInfo *info,
SignalInfo *signal);
-MethodInfo* method_info_new (const char *name,
- MethodStyle style);
+MethodInfo* method_info_new (const char *name);
void method_info_ref (MethodInfo *info);
void method_info_unref (MethodInfo *info);