~ubuntu-branches/ubuntu/edgy/gimp/edgy-updates

« back to all changes in this revision

Viewing changes to plug-ins/common/animationplay.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-04-21 13:00:24 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060421130024-0haogkgt8adj9qjj
Tags: 2.2.11-1ubuntu1
* Resynchronized with Debian, only changes to Debian are:
  - debian/rules:
    - added gettext Domain to .desktop file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
609
609
 
610
610
  drawable = gimp_drawable_get (layers[total_frames-(whichframe+1)]);
611
611
  /* Lame attempt to catch the case that a user has closed the image. */
612
 
  if (! (drawable->width > 0 && drawable->height > 0))
 
612
  if (!drawable)
613
613
    {
 
614
      gimp_message ("Tried to display an invalid layer.");
614
615
      gtk_main_quit ();
615
616
      return;
616
617
    }