Commit graph gtk2-ng/modules/printbackends/papi
Author SHA1 Message Date
8deebb25ac print: end the job with an error when writing fails
All backends used to loop forever on a failed write.

Backported from GTK 3 commit 2adacca119 by Carlos Garcia Campos.
2026-10-15 17:06:32 +02:00
d1ad63a098 headers: don't mark _get_type and _quark functions const
They register types as a side effect, and newer compilers drop calls
whose result isn't used.

The same change as GTK 3 commit f30efa7759 by Matthias Clasen.
2026-10-15 09:53:23 +02:00
42a31c8576 Clean up trailing whitespace 2026-05-03 15:16:52 +02:00
81b9e0200f build: replace deprecated INCLUDES with AM_CPPFLAGS 2026-04-28 21:14:00 +02:00
Nicola Fontana
1e1131c959 Do not use static GTypeInfo and GInterfaceInfo
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.

https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Marek Kasik
f117777c20 Return meaningful default values for lpi and resolution
Change default values returned by gtk_print_settings_get_printer_lpi()
and gtk_print_settings_get_resolution{_x, _y}(). New values are 150 for
lpi and 300 for resolution (instead of 0) (#590861).
2009-08-29 21:34:05 -04:00
James Andrewartha
bd84d95e63 add missing include $(top_srcdir)/git.mk to modules/papi/Makefile.am
Signed-off-by: Davyd Madeley <davyd@madeley.id.au>
2009-05-21 14:45:25 +08:00
gheet
c57fc80465 Adding PAPI printbackend
Adding a new print backend module using libpapi detals see GNOME#382676.
(gheet)
2009-05-11 18:33:08 +01:00