[brasero] brasero-src-selection: don't populate the model until after construction



commit 33520f866236b54e9c87650a1ff6fa84c98a616c
Author: Joshua Lock <joshua lock intel com>
Date:   Tue Aug 20 14:43:35 2013 +0100

    brasero-src-selection: don't populate the model until after construction
    
    As has already been done for brasero-drive-selection and
    brasero-dest-selection.

 libbrasero-burn/brasero-src-selection.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-src-selection.c b/libbrasero-burn/brasero-src-selection.c
index a2cf3ce..16d37cc 100644
--- a/libbrasero-burn/brasero-src-selection.c
+++ b/libbrasero-burn/brasero-src-selection.c
@@ -92,8 +92,10 @@ brasero_src_selection_new (BraseroBurnSession *session)
 }
 
 static void
-brasero_src_selection_init (BraseroSrcSelection *object)
+brasero_src_selection_constructed (GObject *object)
 {
+       G_OBJECT_CLASS (brasero_src_selection_parent_class)->constructed (object);
+
        /* only show media with something to be read on them */
        brasero_medium_selection_show_media_type (BRASERO_MEDIUM_SELECTION (object),
                                                  BRASERO_MEDIA_TYPE_AUDIO|
@@ -101,6 +103,11 @@ brasero_src_selection_init (BraseroSrcSelection *object)
 }
 
 static void
+brasero_src_selection_init (BraseroSrcSelection *object)
+{
+}
+
+static void
 brasero_src_selection_finalize (GObject *object)
 {
        BraseroSrcSelectionPrivate *priv;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]