~woodrow-shen/totem/mybranch

« back to all changes in this revision

Viewing changes to src/plugins/sample-vala/totem-sample-vala-plugin.c

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-12-23 18:34:50 UTC
  • mfrom: (1.6.2) (24.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20131223183450-ikgyve9s6csxrwz9
Tags: 3.10.1-1ubuntu1
* Merge 3.10.1-1 from experimental.
  - Remaining changes mostly annotated in 3.8.2-0ubuntu1 entry.
* Drop git_no_assert_on_start.patch, upstreamed.
* Add vimeo plugin to totem-plugins.
* Bump libzeitgeist dep to libzeitgeist-2.0-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* totem-sample-vala-plugin.c generated by valac 0.19.0.3-f335, the Vala compiler
 
1
/* totem-sample-vala-plugin.c generated by valac 0.15.1.36-84b2b, the Vala compiler
2
2
 * generated from totem-sample-vala-plugin.vala, do not modify */
3
3
 
4
4
 
143
143
 
144
144
static void sample_vala_plugin_finalize (GObject* obj) {
145
145
        SampleValaPlugin * self;
146
 
        self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SAMPLE_VALA_PLUGIN, SampleValaPlugin);
 
146
        self = SAMPLE_VALA_PLUGIN (obj);
147
147
        _g_object_unref0 (self->priv->_object);
148
148
        G_OBJECT_CLASS (sample_vala_plugin_parent_class)->finalize (obj);
149
149
}
165
165
 
166
166
static void _vala_sample_vala_plugin_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
167
167
        SampleValaPlugin * self;
168
 
        self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_SAMPLE_VALA_PLUGIN, SampleValaPlugin);
 
168
        self = SAMPLE_VALA_PLUGIN (object);
169
169
        switch (property_id) {
170
170
                case SAMPLE_VALA_PLUGIN_OBJECT:
171
171
                g_value_take_object (value, sample_vala_plugin_real_get_object ((PeasActivatable*) self));
179
179
 
180
180
static void _vala_sample_vala_plugin_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
181
181
        SampleValaPlugin * self;
182
 
        self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_SAMPLE_VALA_PLUGIN, SampleValaPlugin);
 
182
        self = SAMPLE_VALA_PLUGIN (object);
183
183
        switch (property_id) {
184
184
                case SAMPLE_VALA_PLUGIN_OBJECT:
185
185
                sample_vala_plugin_real_set_object ((PeasActivatable*) self, g_value_get_object (value));
198
198
        g_return_if_fail (module != NULL);
199
199
        sample_vala_plugin_register_type (module);
200
200
        _tmp0_ = module;
201
 
        _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, peas_object_module_get_type ()) ? ((PeasObjectModule*) _tmp0_) : NULL);
 
201
        _tmp1_ = _g_object_ref0 (PEAS_IS_OBJECT_MODULE (_tmp0_) ? ((PeasObjectModule*) _tmp0_) : NULL);
202
202
        objmodule = _tmp1_;
203
203
        peas_object_module_register_extension_type (objmodule, peas_activatable_get_type (), TYPE_SAMPLE_VALA_PLUGIN);
204
204
        _g_object_unref0 (objmodule);