[libdmapsharing] Vala-related clean up: DAAPRecord Signed-off-by: W. Michael Petullo <mike flyn org>
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Vala-related clean up: DAAPRecord Signed-off-by: W. Michael Petullo <mike flyn org>
- Date: Fri, 10 Dec 2010 17:56:39 +0000 (UTC)
commit fbb71fd2323acd1d6752ba3743b1bad1468327e3
Author: W. Michael Petullo <mike flyn org>
Date: Thu Dec 9 08:36:00 2010 -0600
Vala-related clean up: DAAPRecord
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/daap-record.c | 6 +++---
libdmapsharing/daap-record.h | 18 +++++++++---------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libdmapsharing/daap-record.c b/libdmapsharing/daap-record.c
index 8aeed10..1aaf39e 100644
--- a/libdmapsharing/daap-record.c
+++ b/libdmapsharing/daap-record.c
@@ -23,7 +23,7 @@
static gint daap_record_init_count = 0;
static void
-daap_record_init (DAAPRecordInterface *iface)
+daap_record_init (DAAPRecordIface *iface)
{
static gboolean is_initialized = FALSE;
@@ -200,7 +200,7 @@ daap_record_init (DAAPRecordInterface *iface)
}
static void
-daap_record_finalize (DAAPRecordInterface *iface)
+daap_record_finalize (DAAPRecordIface *iface)
{
daap_record_init_count--;
}
@@ -212,7 +212,7 @@ daap_record_get_type (void)
static GType object_type = 0;
if (!object_type) {
static const GTypeInfo object_info = {
- sizeof(DAAPRecordInterface),
+ sizeof(DAAPRecordIface),
(GBaseInitFunc) daap_record_init,
(GBaseFinalizeFunc) daap_record_finalize
};
diff --git a/libdmapsharing/daap-record.h b/libdmapsharing/daap-record.h
index 6dacbe0..ffaebe1 100644
--- a/libdmapsharing/daap-record.h
+++ b/libdmapsharing/daap-record.h
@@ -30,11 +30,11 @@
G_BEGIN_DECLS
/**
- * TYPE_DAAP_RECORD:
+ * DAAP_TYPE_RECORD:
*
* The type for #DAAPRecord.
*/
-#define TYPE_DAAP_RECORD (daap_record_get_type ())
+#define DAAP_TYPE_RECORD (daap_record_get_type ())
/**
* DAAP_RECORD:
* @o: Object which is subject to casting.
@@ -44,15 +44,15 @@ G_BEGIN_DECLS
* certain runtime checks to identify invalid casts.
*/
#define DAAP_RECORD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
- TYPE_DAAP_RECORD, DAAPRecord))
+ DAAP_TYPE_RECORD, DAAPRecord))
/**
* IS_DAAP_RECORD:
- * @o: Instance to check for being a %TYPE_DAAP_RECORD.
+ * @o: Instance to check for being a %DAAP_TYPE_RECORD.
*
- * Checks whether a valid #GTypeInstance pointer is of type %TYPE_DAAP_RECORD.
+ * Checks whether a valid #GTypeInstance pointer is of type %DAAP_TYPE_RECORD.
*/
#define IS_DAAP_RECORD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
- TYPE_DAAP_RECORD))
+ DAAP_TYPE_RECORD))
/**
* DAAP_RECORD_GET_INTERFACE:
* @o: a #DAAPRecord instance.
@@ -62,12 +62,12 @@ G_BEGIN_DECLS
* Returns: pointer to object interface structure.
*/
#define DAAP_RECORD_GET_INTERFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), \
- TYPE_DAAP_RECORD, DAAPRecordInterface))
+ DAAP_TYPE_RECORD, DAAPRecordIface))
typedef struct _DAAPRecord DAAPRecord;
-typedef struct _DAAPRecordInterface DAAPRecordInterface;
+typedef struct _DAAPRecordIface DAAPRecordIface;
-struct _DAAPRecordInterface {
+struct _DAAPRecordIface {
GTypeInterface parent;
gboolean (*itunes_compat) (DAAPRecord *record);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]