mirror of https://github.com/GNOME/gimp.git
removed unused field.
2008-02-26 Sven Neumann <sven@gimp.org> * plug-ins/print/print.h (struct PrintData): removed unused field. * plug-ins/print/print-page-layout.c: set a minimum size of 1/100 of the paper size. svn path=/trunk/; revision=24986
This commit is contained in:
parent
1b11a9e838
commit
f1a7ab78c0
|
@ -1,3 +1,10 @@
|
||||||
|
2008-02-26 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/print/print.h (struct PrintData): removed unused field.
|
||||||
|
|
||||||
|
* plug-ins/print/print-page-layout.c: set a minimum size of 1/100
|
||||||
|
of the paper size.
|
||||||
|
|
||||||
2008-02-26 Michael Natterer <mitch@gimp.org>
|
2008-02-26 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/tools/gimppolygonselecttool.c: draw handles at the corners
|
* app/tools/gimppolygonselecttool.c: draw handles at the corners
|
||||||
|
|
|
@ -850,8 +850,10 @@ print_size_info_set_page_setup (PrintSizeInfo *info)
|
||||||
x = (gdouble) info->image_width * ratio_y;
|
x = (gdouble) info->image_width * ratio_y;
|
||||||
}
|
}
|
||||||
|
|
||||||
gimp_size_entry_set_value_boundaries (info->size_entry, WIDTH, 0.0, x);
|
gimp_size_entry_set_value_boundaries (info->size_entry, WIDTH,
|
||||||
gimp_size_entry_set_value_boundaries (info->size_entry, HEIGHT, 0.0, y);
|
page_width / 100.0, x);
|
||||||
|
gimp_size_entry_set_value_boundaries (info->size_entry, HEIGHT,
|
||||||
|
page_height / 100.0, y);
|
||||||
|
|
||||||
print_size_info_get_page_dimensions (info,
|
print_size_info_get_page_dimensions (info,
|
||||||
&page_width, &page_height,
|
&page_width, &page_height,
|
||||||
|
@ -871,7 +873,4 @@ print_size_info_set_page_setup (PrintSizeInfo *info)
|
||||||
x, GIMP_MAX_RESOLUTION);
|
x, GIMP_MAX_RESOLUTION);
|
||||||
gimp_size_entry_set_refval_boundaries (info->resolution_entry, 1,
|
gimp_size_entry_set_refval_boundaries (info->resolution_entry, 1,
|
||||||
y, GIMP_MAX_RESOLUTION);
|
y, GIMP_MAX_RESOLUTION);
|
||||||
|
|
||||||
/* FIXME: is this still needed at all? */
|
|
||||||
data->orientation = gtk_page_setup_get_orientation (setup);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,5 @@ typedef struct
|
||||||
PrintCenterMode center;
|
PrintCenterMode center;
|
||||||
gboolean use_full_page;
|
gboolean use_full_page;
|
||||||
GtkPrintOperation *operation;
|
GtkPrintOperation *operation;
|
||||||
GtkPageOrientation orientation;
|
|
||||||
} PrintData;
|
} PrintData;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue