~pete-woods/hud/libhud-tests

« back to all changes in this revision

Viewing changes to libhud/manager.c

  • Committer: Pete Woods
  • Date: 2013-04-03 03:04:39 UTC
  • mfrom: (371.1.2 new)
  • Revision ID: pete.woods@canonical.com-20130403030439-fib6k9hzh1un1qcj
Add another test for hud-manager and squash the reference leak bugs that crawl out

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        g_clear_object(&manager->priv->service_proxy);
175
175
        g_clear_object(&manager->priv->app_proxy);
176
176
 
 
177
        g_list_free_full(manager->priv->publishers, g_object_unref);
 
178
 
177
179
        g_clear_object(&manager->priv->app_pub);
178
180
        g_clear_object(&manager->priv->application);
179
181
 
205
207
                        g_clear_pointer(&manager->priv->application_id, g_free);
206
208
                        manager->priv->application_id = g_value_dup_string(value);
207
209
                } else {
208
 
                        g_warning("Application ID being set on HUD Manager already initialized with a GApplication");
 
210
                        g_debug("Application ID being set on HUD Manager already initialized with a GApplication");
209
211
                }
210
212
                break;
211
213
        case PROP_APPLICATION: