~ubuntu-branches/ubuntu/gutsy/gimp/gutsy

« back to all changes in this revision

Viewing changes to libgimpwidgets/gimppreview.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-09-30 18:06:49 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070930180649-f647f0cxj32tgyn3
Tags: 2.4.0~rc3-1ubuntu1
* Resynchronized with Debian.
* Remaining Ubuntu changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - 10_dont_show_wizard.patch: Unused, upstream doesn't call it anymore.
  - Use dh_icons.
* Disabled the print plugin, and removed the Conflicts/Replaces on
  gimp-print.

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
                    GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0);
274
274
  gtk_widget_show (priv->controls);
275
275
 
276
 
  /*  toggle button to (des)activate the instant preview  */
 
276
  /*  toggle button to (de)activate the instant preview  */
277
277
  preview->toggle = gtk_check_button_new_with_mnemonic (_("_Preview"));
278
278
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (preview->toggle),
279
279
                                preview->update_preview);
468
468
static gboolean
469
469
gimp_preview_invalidate_now (GimpPreview *preview)
470
470
{
471
 
  GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (preview));
472
 
  GimpPreviewClass *class = GIMP_PREVIEW_GET_CLASS (preview);
 
471
  GtkWidget        *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (preview));
 
472
  GimpPreviewClass *class    = GIMP_PREVIEW_GET_CLASS (preview);
473
473
 
474
 
  if (class->draw)
475
 
    class->draw (preview);
 
474
  gimp_preview_draw (preview);
476
475
 
477
476
  preview->timeout_id = 0;
478
477