~mhr3/libunity/fix-1063300

Viewing all changes in revision 183.

  • Committer: Tarmac
  • Author(s): Pawel Stolowski
  • Date: 2012-10-02 17:25:59 UTC
  • mfrom: (182.1.3 async-preview-null)
  • Revision ID: tarmac-20121002172559-bp5nyv6bs2z3ub05
Allow null preview argument in preview_ready signal by declaring it with "?"; this results in an empty GenericPreview. Without the fix null argument is rejected with critical error by vala-generated code at runtime. Added test case for null preview.. Fixes: https://bugs.launchpad.net/bugs/1060281. Approved by Michal Hruby.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: