diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-02-25 02:41:29 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-02-25 02:41:29 +0100 |
| commit | d2ccf4d428fd0007c1514be6ce4f49185b0bcb77 (patch) | |
| tree | 1eb4d58f0a079c062c9e501f47663a6e83df8681 /services | |
| parent | 9c6fdb5c548c01e01357310dc5bc08549bd4a5af (diff) | |
Panelservice: Fixed coverity warning
(bzr r1858.11.20)
Diffstat (limited to 'services')
| -rw-r--r-- | services/panel-root-accessible.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/panel-root-accessible.c b/services/panel-root-accessible.c index d35f4c7dc..6881941d1 100644 --- a/services/panel-root-accessible.c +++ b/services/panel-root-accessible.c @@ -134,16 +134,16 @@ panel_root_accessible_initialize (AtkObject *accessible, gpointer data) if (INDICATOR_IS_OBJECT (indicator)) { AtkObject *child; - gpointer *data; + gpointer *weak_data; child = panel_indicator_accessible_new (indicator); /* FIXME: use proper signals once we support dynamic adding/removing * of indicators */ - data = g_new0 (gpointer, 2); - data[0] = root; - data[1] = child; + weak_data = g_new0 (gpointer, 2); + weak_data[0] = root; + weak_data[1] = child; g_object_weak_ref (G_OBJECT (indicator), - (GWeakNotify) on_indicator_removed, data); + (GWeakNotify) on_indicator_removed, weak_data); atk_object_set_parent (child, accessible); root->priv->a11y_children = g_slist_append (root->priv->a11y_children, child); |
