libnm-glib: silence some build warnings
libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:28: Warning: NMClient: symbol='PropertyMarshalFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:82: Warning: NMClient: symbol='NMObjectTypeFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:82: Warning: NMClient: symbol='NMObjectTypeFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:83: Warning: NMClient: symbol='NMObjectTypeCallbackFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:83: Warning: NMClient: symbol='NMObjectTypeCallbackFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable libnm-glib/nm-object-private.h:84: Warning: NMClient: symbol='NMObjectTypeAsyncFunc': missing parameter name; undocumentable
This commit is contained in:
@@ -25,7 +25,10 @@
|
|||||||
|
|
||||||
void _nm_object_ensure_inited (NMObject *object);
|
void _nm_object_ensure_inited (NMObject *object);
|
||||||
|
|
||||||
typedef gboolean (*PropertyMarshalFunc) (NMObject *, GParamSpec *, GValue *, gpointer);
|
typedef gboolean (*PropertyMarshalFunc) (NMObject *object,
|
||||||
|
GParamSpec *pspec,
|
||||||
|
GValue *value,
|
||||||
|
gpointer field);
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
@@ -77,9 +80,12 @@ handle_ptr_array_return (GPtrArray *array)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* object demarshalling support */
|
/* object demarshalling support */
|
||||||
typedef GType (*NMObjectTypeFunc) (DBusGConnection *, const char *);
|
typedef GType (*NMObjectTypeFunc) (DBusGConnection *connection, const char *path);
|
||||||
typedef void (*NMObjectTypeCallbackFunc) (GType, gpointer);
|
typedef void (*NMObjectTypeCallbackFunc) (GType type, gpointer user_data);
|
||||||
typedef void (*NMObjectTypeAsyncFunc) (DBusGConnection *, const char *, NMObjectTypeCallbackFunc, gpointer);
|
typedef void (*NMObjectTypeAsyncFunc) (DBusGConnection *connection,
|
||||||
|
const char *path,
|
||||||
|
NMObjectTypeCallbackFunc callback,
|
||||||
|
gpointer user_data);
|
||||||
|
|
||||||
void _nm_object_register_type_func (GType base_type, NMObjectTypeFunc type_func,
|
void _nm_object_register_type_func (GType base_type, NMObjectTypeFunc type_func,
|
||||||
NMObjectTypeAsyncFunc type_async_func);
|
NMObjectTypeAsyncFunc type_async_func);
|
||||||
|
Reference in New Issue
Block a user