~ubuntu-branches/ubuntu/utopic/unity-greeter/utopic

« back to all changes in this revision

Viewing changes to tests/menubar.c

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2013-01-04 10:37:29 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: package-import@ubuntu.com-20130104103729-ydal31wfuhirb8zb
Tags: upstream-13.04.0
ImportĀ upstreamĀ versionĀ 13.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* menubar.c generated by valac 0.16.1, the Vala compiler
 
1
/* menubar.c generated by valac 0.18.1, the Vala compiler
2
2
 * generated from menubar.vala, do not modify */
3
3
 
4
4
/* -*- Mode: Vala; indent-tabs-mode: nil; tab-width: 4 -*-
142
142
 
143
143
static void menu_bar_finalize (GObject* obj) {
144
144
        MenuBar * self;
145
 
        self = MENU_BAR (obj);
 
145
        self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MENU_BAR, MenuBar);
146
146
        G_OBJECT_CLASS (menu_bar_parent_class)->finalize (obj);
147
147
}
148
148
 
161
161
 
162
162
static void _vala_menu_bar_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
163
163
        MenuBar * self;
164
 
        self = MENU_BAR (object);
 
164
        self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MENU_BAR, MenuBar);
165
165
        switch (property_id) {
166
166
                case MENU_BAR_HIGH_CONTRAST:
167
167
                g_value_set_boolean (value, menu_bar_get_high_contrast (self));
175
175
 
176
176
static void _vala_menu_bar_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
177
177
        MenuBar * self;
178
 
        self = MENU_BAR (object);
 
178
        self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MENU_BAR, MenuBar);
179
179
        switch (property_id) {
180
180
                case MENU_BAR_HIGH_CONTRAST:
181
181
                menu_bar_set_high_contrast (self, g_value_get_boolean (value));