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

« back to all changes in this revision

Viewing changes to unity-private/testing/test-director.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-03 17:00:45 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100903170045-4wxx5upl87lkqnax
Tags: 0.2.34-0ubuntu1
* New upstream release:
  - Use gettext plural form (LP: #625199)
  - Fix newly pinned app is removed from the launcher on closing that app but
    works fine afterward (LP: #614329)
  - Fix Memory leak in places (LP: #628588)
* remove debian/source/:
  - revert to previous format, seems to confuse daily build and we don't have
    anymore bin patch
* remove upstreamed debian/trash.png, debian/applications.png and
  debian/files.png
* debian/rules:
  - remove copying debian/*png
* debian/libunity0.symbols:
  - refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
static void unity_testing_director_do_event (UnityTestingDirector* self, ClutterActor* actor, ClutterEvent* event, gboolean capture_phase);
70
70
void unity_testing_director_do_wait_for_animation (UnityTestingDirector* self, ClutterActor* actor);
71
71
void unity_testing_director_do_wait_for_timeout (UnityTestingDirector* self, guint32 msecs);
72
 
static gboolean _lambda94_ (UnityTestingDirector* self);
73
 
static gboolean __lambda94__gsource_func (gpointer self);
 
72
static gboolean _lambda95_ (UnityTestingDirector* self);
 
73
static gboolean __lambda95__gsource_func (gpointer self);
74
74
void unity_testing_director_button_press (UnityTestingDirector* self, ClutterActor* actor, guint32 button, gboolean autorelease, float relative_x, float relative_y, gboolean wait_for_animation);
75
75
void unity_testing_director_button_release (UnityTestingDirector* self, ClutterActor* actor, guint32 button, float relative_x, float relative_y);
76
76
void unity_testing_director_enter_event (UnityTestingDirector* self, ClutterActor* actor, float relative_x, float relative_y);
137
137
}
138
138
 
139
139
 
140
 
static gboolean _lambda94_ (UnityTestingDirector* self) {
 
140
static gboolean _lambda95_ (UnityTestingDirector* self) {
141
141
        gboolean result = FALSE;
142
142
        self->priv->break_loop = TRUE;
143
143
        result = FALSE;
145
145
}
146
146
 
147
147
 
148
 
static gboolean __lambda94__gsource_func (gpointer self) {
 
148
static gboolean __lambda95__gsource_func (gpointer self) {
149
149
        gboolean result;
150
 
        result = _lambda94_ (self);
 
150
        result = _lambda95_ (self);
151
151
        return result;
152
152
}
153
153
 
155
155
void unity_testing_director_do_wait_for_timeout (UnityTestingDirector* self, guint32 msecs) {
156
156
        g_return_if_fail (self != NULL);
157
157
        self->priv->break_loop = FALSE;
158
 
        g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) msecs, __lambda94__gsource_func, g_object_ref (self), g_object_unref);
 
158
        g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) msecs, __lambda95__gsource_func, g_object_ref (self), g_object_unref);
159
159
        while (TRUE) {
160
160
                if (!(self->priv->break_loop != TRUE)) {
161
161
                        break;