~leprechaun-team/+junk/unity-use-patches

« back to all changes in this revision

Viewing changes to unity/drag-controller.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-09 19:13:29 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20100909191329-j3odkmn02roj91b1
Tags: 0.2.36-0ubuntu1
* New upstream release:
  - Fix width of home-button on panel, so groove aligns with right edge of
    launcher, fixes (LP: #630031)
  - migration script to transition first time new people to unity
    (LP: #622146)
  - Quicklist name disappearing (LP: #627666)
* debian/unity.install:
  - install libexec in unity package (for migration tool)
* debian/libunity0.symbols:
  - update symbol

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* drag-controller.c generated by valac 0.9.7, the Vala compiler
 
1
/* drag-controller.c generated by valac, the Vala compiler
2
2
 * generated from drag-controller.vala, do not modify */
3
3
 
4
4
/*
149
149
        UNITY_DRAG_CONTROLLER_DUMMY_PROPERTY,
150
150
        UNITY_DRAG_CONTROLLER_IS_DRAGGING
151
151
};
152
 
UnityDragController* unity_drag_controller_get_default (void);
153
152
UnityDragController* unity_drag_controller_new (void);
154
153
UnityDragController* unity_drag_controller_construct (GType object_type);
155
 
void unity_drag_controller_start_drag (UnityDragController* self, UnityDragModel* model, float offset_x, float offset_y);
 
154
UnityDragController* unity_drag_controller_get_default (void);
156
155
UnityDragView* unity_drag_view_new (ClutterStage* stage);
157
156
UnityDragView* unity_drag_view_construct (GType object_type, ClutterStage* stage);
158
157
void unity_drag_view_hook_actor_to_cursor (UnityDragView* self, ClutterActor* actor, float offset_x, float offset_y);
166
165
GType unity_window_action_get_type (void) G_GNUC_CONST;
167
166
GType unity_shell_get_type (void) G_GNUC_CONST;
168
167
void unity_shell_add_fullscreen_request (UnityShell* self, GObject* o);
 
168
void unity_drag_controller_start_drag (UnityDragController* self, UnityDragModel* model, float offset_x, float offset_y);
169
169
UnityDragModel* unity_drag_controller_get_drag_model (UnityDragController* self);
170
170
void unity_drag_view_unhook_actor (UnityDragView* self);
171
171
gboolean unity_shell_remove_fullscreen_request (UnityShell* self, GObject* o);
246
246
        g_return_if_fail (self != NULL);
247
247
        g_return_if_fail (model != NULL);
248
248
        if (!UNITY_DRAG_IS_VIEW (self->priv->view)) {
 
249
                UnityDragView* _tmp2_;
249
250
                ClutterActor* _tmp0_;
250
251
                ClutterActor* _tmp1_;
251
 
                UnityDragView* _tmp2_;
252
252
                self->priv->view = (_tmp2_ = unity_drag_view_new ((_tmp1_ = clutter_actor_get_stage (_tmp0_ = unity_drag_model_get_icon (model)), CLUTTER_IS_STAGE (_tmp1_) ? ((ClutterStage*) _tmp1_) : NULL)), _g_object_unref0 (self->priv->view), _tmp2_);
253
253
                _g_object_unref0 (_tmp0_);
254
254
        }
299
299
 
300
300
 
301
301
static void unity_drag_controller_on_view_end (UnityDragController* self, float x, float y) {
 
302
        guint _tmp1_;
302
303
        ClutterActor* _tmp0_;
303
 
        guint _tmp1_;
304
304
        guint _tmp2_;
305
305
        guint _tmp3_;
306
306
        UnityDragModel* _tmp4_;
322
322
 
323
323
UnityDragController* unity_drag_controller_construct (GType object_type) {
324
324
        UnityDragController * self;
325
 
        self = (UnityDragController*) g_object_new (object_type, NULL);
 
325
        self = g_object_newv (object_type, 0, NULL);
326
326
        return self;
327
327
}
328
328