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

« back to all changes in this revision

Viewing changes to src/menu.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
 
/* menu.c generated by valac 0.16.1, the Vala compiler
 
1
/* menu.c generated by valac 0.18.1, the Vala compiler
2
2
 * generated from menu.vala, do not modify */
3
3
 
4
4
/* -*- Mode: Vala; indent-tabs-mode: nil; tab-width: 4 -*-
161
161
                cairo_restore (_tmp16_);
162
162
        }
163
163
        _tmp17_ = c;
164
 
        GTK_WIDGET_CLASS (menu_parent_class)->draw ((GtkWidget*) GTK_MENU (self), _tmp17_);
 
164
        GTK_WIDGET_CLASS (menu_parent_class)->draw ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_MENU, GtkMenu), _tmp17_);
165
165
        result = FALSE;
166
166
        return result;
167
167
}
213
213
 
214
214
static void menu_finalize (GObject* obj) {
215
215
        Menu * self;
216
 
        self = MENU (obj);
 
216
        self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MENU, Menu);
217
217
        _g_object_unref0 (self->priv->_background);
218
218
        G_OBJECT_CLASS (menu_parent_class)->finalize (obj);
219
219
}
233
233
 
234
234
static void _vala_menu_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
235
235
        Menu * self;
236
 
        self = MENU (object);
 
236
        self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MENU, Menu);
237
237
        switch (property_id) {
238
238
                case MENU_BACKGROUND:
239
239
                g_value_set_object (value, menu_get_background (self));
247
247
 
248
248
static void _vala_menu_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
249
249
        Menu * self;
250
 
        self = MENU (object);
 
250
        self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MENU, Menu);
251
251
        switch (property_id) {
252
252
                case MENU_BACKGROUND:
253
253
                menu_set_background (self, g_value_get_object (value));