~3v1n0/unity/scale-window-cast-protection

« back to all changes in this revision

Viewing changes to a11y/unity-quicklist-menu-accessible.cpp

  • Committer: Marco Trevisan (Treviño)
  • Date: 2016-03-07 18:51:47 UTC
  • mfrom: (4080 unity)
  • mto: This revision was merged to the branch mainline in revision 4085.
  • Revision ID: mail@3v1n0.net-20160307185147-0p1m89up4tqfb6w1
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
269
269
    return NULL;
270
270
 
271
271
  child = quicklist->GetSelectedMenuItem();
272
 
  child_accessible = unity_a11y_get_accessible(child);
273
 
 
274
 
  if (child_accessible != NULL)
275
 
    g_object_ref(child_accessible);
 
272
 
 
273
  if (child != NULL)
 
274
  {
 
275
    child_accessible = unity_a11y_get_accessible(child);
 
276
 
 
277
    if (child_accessible != NULL)
 
278
      g_object_ref(child_accessible);
 
279
  }
276
280
 
277
281
  return child_accessible;
278
282
}