~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/MapObject/mapobject_image.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include <gtk/gtk.h>
15
15
 
16
16
#include <libgimp/gimp.h>
 
17
#include <libgimp/gimpui.h>
17
18
 
18
19
#include "mapobject_main.h"
19
20
#include "mapobject_preview.h"
231
232
 
232
233
      if (x1 < 0) x1 = (width-1) - (-x1 % width);
233
234
      else        x1 = x1 % width;
234
 
  
 
235
 
235
236
      if (y1 < 0) y1 = (height-1) - (-y1 % height);
236
237
      else        y1 = y1 % height;
237
238
 
281
282
  gint    w, h;
282
283
  gint    x1, y1, x2, y2;
283
284
  GimpRGB p[4];
284
 
 
 
285
 
285
286
  w = box_drawables[image]->width;
286
287
  h = box_drawables[image]->height;
287
288
 
313
314
  gint    w, h;
314
315
  gint    x1, y1, x2, y2;
315
316
  GimpRGB p[4];
316
 
 
 
317
 
317
318
  w = cylinder_drawables[image]->width;
318
319
  h = cylinder_drawables[image]->height;
319
320