~ubuntu-branches/ubuntu/precise/rygel/precise

« back to all changes in this revision

Viewing changes to src/plugins/test/rygel-test-item.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Henriksson
  • Date: 2010-01-25 23:29:49 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100125232949-0papnovs684ivp2o
Tags: 0.4.10-1
* Add recommends on gstreamer plugin sets base and ugly. (Closes: #565284)
* Imported Upstream version 0.4.10
* Exclude rygel plugins when running dh_makeshlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
 
67
67
 
 
68
#line 34 "rygel-test-item.vala"
68
69
RygelTestItem* rygel_test_item_construct (GType object_type, const char* id, RygelMediaContainer* parent, const char* title, const char* mime, const char* upnp_class) {
 
70
#line 71 "rygel-test-item.c"
69
71
        RygelTestItem * self;
70
72
        char* _tmp0_;
71
73
        char* _tmp1_;
 
74
#line 34 "rygel-test-item.vala"
72
75
        g_return_val_if_fail (id != NULL, NULL);
 
76
#line 34 "rygel-test-item.vala"
73
77
        g_return_val_if_fail (parent != NULL, NULL);
 
78
#line 34 "rygel-test-item.vala"
74
79
        g_return_val_if_fail (title != NULL, NULL);
 
80
#line 34 "rygel-test-item.vala"
75
81
        g_return_val_if_fail (mime != NULL, NULL);
 
82
#line 34 "rygel-test-item.vala"
76
83
        g_return_val_if_fail (upnp_class != NULL, NULL);
 
84
#line 39 "rygel-test-item.vala"
77
85
        self = (RygelTestItem*) rygel_media_item_construct (object_type, id, parent, title, upnp_class);
 
86
#line 41 "rygel-test-item.vala"
78
87
        ((RygelMediaItem*) self)->mime_type = (_tmp0_ = g_strdup (mime), _g_free0 (((RygelMediaItem*) self)->mime_type), _tmp0_);
 
88
#line 42 "rygel-test-item.vala"
79
89
        ((RygelMediaItem*) self)->author = (_tmp1_ = g_strdup (RYGEL_TEST_ITEM_TEST_AUTHOR), _g_free0 (((RygelMediaItem*) self)->author), _tmp1_);
 
90
#line 91 "rygel-test-item.c"
80
91
        return self;
81
92
}
82
93