[brasero: 11/18] Derive BraseroTrackStream from the correct type
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero: 11/18] Derive BraseroTrackStream from the correct type
- Date: Mon, 4 May 2009 14:16:39 -0400 (EDT)
commit 2e496bcfedb864f4d4e625ce6137f5867ad2f166
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun May 3 12:19:01 2009 +0200
Derive BraseroTrackStream from the correct type
---
libbrasero-burn/brasero-track-stream.c | 2 +-
libbrasero-burn/brasero-track-stream.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libbrasero-burn/brasero-track-stream.c b/libbrasero-burn/brasero-track-stream.c
index a190a3f..edf429d 100644
--- a/libbrasero-burn/brasero-track-stream.c
+++ b/libbrasero-burn/brasero-track-stream.c
@@ -54,7 +54,7 @@ struct _BraseroTrackStreamPrivate
#define BRASERO_TRACK_STREAM_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BRASERO_TYPE_TRACK_STREAM, BraseroTrackStreamPrivate))
-G_DEFINE_TYPE (BraseroTrackStream, brasero_track_stream, G_TYPE_OBJECT);
+G_DEFINE_TYPE (BraseroTrackStream, brasero_track_stream, BRASERO_TYPE_TRACK);
BraseroBurnResult
brasero_track_stream_set_source (BraseroTrackStream *track,
diff --git a/libbrasero-burn/brasero-track-stream.h b/libbrasero-burn/brasero-track-stream.h
index 160826e..1a5a60c 100644
--- a/libbrasero-burn/brasero-track-stream.h
+++ b/libbrasero-burn/brasero-track-stream.h
@@ -50,12 +50,12 @@ typedef struct _BraseroTrackStream BraseroTrackStream;
struct _BraseroTrackStreamClass
{
- GObjectClass parent_class;
+ BraseroTrackClass parent_class;
};
struct _BraseroTrackStream
{
- GObject parent_instance;
+ BraseroTrack parent_instance;
};
GType brasero_track_stream_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]