summaryrefslogtreecommitdiff
path: root/gtk/gtkprinter-private.h
Commit message (Collapse)AuthorAgeFilesLines
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+1
| | | | Add annotations to all exported functions in GTK+ headers.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Allow getting the printer's hard marginsChristian Persch2009-12-011-5/+0
| | | | Adds a way to get the unprintable area of the printer. Bug #468989.
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* gtk/Makefile.am add a single-include header for the unix print stuff.Michael Natterer2008-05-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-29 Michael Natterer <mitch@imendio.org> * gtk/Makefile.am * gtk/gtkunixprint.h: add a single-include header for the unix print stuff. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * modules/printbackends/cups/gtkprintbackendcups.c * modules/printbackends/cups/gtkprintercups.h * modules/printbackends/lpr/gtkprintbackendlpr.c * tests/buildertest.c * tests/defaultvaluetest.c * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of individual files. svn path=/trunk/; revision=20230
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Make gtk_printer_get_capabilities public, and move theChristian Persch2007-04-301-2/+0
| | | | | | | | | | | | | | | | 2007-04-30 Christian Persch <chpe@gnome.org> * docs/reference/gtk/gtk-sections.txt: * gtk/gtk.symbols: * gtk/gtkprinter-private.h: * gtk/gtkprinter.c: (gtk_printer_get_capabilities), (gtk_print_capabilities_get_type): * gtk/gtkprinter.h: * gtk/gtkprintunixdialog.c: (selected_printer_changed): Make gtk_printer_get_capabilities public, and move the GtkPrintCapabilities definition to gtkprinter.h. Bug #390437. svn path=/trunk/; revision=17746
* Make gtk_printer_has_details() and gtk_printer_request_details() public.Matthias Clasen2007-04-291-3/+2
| | | | | | | | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkprinter-private.h: * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and gtk_printer_request_details() public. * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintunixdialog.c: Update callers. (#389203, Christian Persch) svn path=/trunk/; revision=17690
* Make gtk_printer_list_papers public. Bug #345587.Christian Persch2006-12-241-1/+0
| | | | | | | | | | | 2006-12-24 Christian Persch <chpe@cvs.gnome.org> * docs/reference/gtk/gtk-sections.txt: * gtk/gtk.symbols: * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer): * gtk/gtkprinter-private.h: * gtk/gtkprinter.c: (gtk_printer_list_papers): * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
* Apply a patch by John Palmieri to use buffered io using GIOChannels, cleanMatthias Clasen2006-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-06-21 Matthias Clasen <mclasen@redhat.com> Apply a patch by John Palmieri to use buffered io using GIOChannels, clean up error handling and support Cups 1.2 api in the printing code. * acconfig.h: * configure.in: Detect Cups 1.2 * gtk/gtkdebug.h: * gtk/gtkmain.c: Add a printing debug key. * gtk/gtkprintbackend.[hc]: Remove the GError parameter from gtk_print_backend_print_stream, and take a GIOChannel instead of an fd. * gtk/gtkprinter-private.h: * gtk/gtkprinter.c: Replace the fd parameter of _gtk_printer_create_cairo_surface by a GIOChannel. * gtk/gtkprintjob.[hc]: Remove the GError parameter from gtk_print_job_send and make it return void. * gtk/gtkprintoperation-unix.c: * gtk/gtkprintjob.c: Adjust callers, add some debugging support. * modules/printbackends/Makefile.am: Fix DIST_SUBDIRS. * modules/printbackends/cups/Makefile.am: * modules/printbackends/lpr/Makefile.am: Add debug CFLAGS. * modules/printbackends/cups/gtkcupsutils.[hc]: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/file/gtkprintbackendfile.c: * modules/printbackends/lpr/gtkprintbackendfile.c: Adapt to the GIOChannel and GError changes, add debug output
* Add a capabilities argument to the printer_get_options method and to theMatthias Clasen2006-06-191-2/+2
| | | | | | | | | | | | | | | | | | | 2006-06-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter-private.h: * gtk/gtkprinter.c (_gtk_printer_get_options): * gtk/gtkprintbackend.h: Add a capabilities argument to the printer_get_options method and to the _gtk_printer_get_options function * modules/printbackends/lpr/gtkprintbackendlpr.c (lpr_printer_get_options): * modules/printbackends/pdf/gtkprintbackendpdf.c (pdf_printer_get_options): * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): * gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust callers and implementations.
* Add a GtkPrintSettings parameter to the printer_create_cairo_surfaceMatthias Clasen2006-06-161-0/+1
| | | | | | | | | | | | | | 2006-06-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the printer_create_cairo_surface method. * modules/printbackends/pdf/gtkprintbackendpdf.c: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * gtk/gtkprinter.c (_gtk_printer_create_cairo_surface): * gtk/gtkprinter-private.h: * gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.
* Add gtk_print_unix_dialog_set_manual_capabilities that controls whatAlexander Larsson2006-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-24 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * gtk/gtkprintunixdialog.[ch]: Add gtk_print_unix_dialog_set_manual_capabilities that controls what widgets to enable in the dialog depending on the apps capabilities. * gtk/gtkprintbackend.[ch]: * gtk/gtkprinter-private.h: * gtk/gtkprinter.c: * gtk/gtkprintjob.h: Add printer_get_capabilities to backend. Move some fallback calls to the printbackend base class. * gtk/gtkprintoperation-unix.c: Set manual capabilities * modules/printbackends/cups/gtkprintbackendcups.c: Implement get_capabilities * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: Move some methods to baseclass.
* Don't declare GtkPrintJob here. Instead include gtkprintjob.h.Matthias Clasen2006-04-241-0/+1
| | | | | | | 2006-04-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter.h: Don't declare GtkPrintJob here. * gtk/gtkprinter-private.h: Instead include gtkprintjob.h.
* Use g types, add documentation, and some stylistic fixups.Matthias Clasen2006-04-241-5/+5
| | | | | | | | | | | | 2006-04-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter-private.h: * gtk/gtkprintbackend.h: * gtk/gtkprinter.[hc]: * gtk/gtkprintjob.[hc]: Use g types, add documentation, and some stylistic fixups. * gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.
* Merge the gtk-printing branch. For more detailed ChangeLog entries, seeAlexander Larsson2006-04-211-0/+64
2006-04-21 Alexander Larsson <alexl@redhat.com> Merge the gtk-printing branch. For more detailed ChangeLog entries, see the branch. * .cvsignore: * Makefile.am: * configure.in: * docs/tools/widgets.c: * gtk+-unix-print-2.0.pc.in: * gtk/Makefile.am: * gtk/gen-paper-names.c: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkenums.h: * gtk/gtkiconfactory.c: * gtk/gtkmarshalers.list: * gtk/gtkpagesetup.[ch]: * gtk/gtkpagesetupunixdialog.[ch]: * gtk/gtkpapersize.[ch]: * gtk/gtkprint-win32.[ch]: * gtk/gtkprintbackend.[ch]: * gtk/gtkprintcontext.[ch]: * gtk/gtkprinter-private.h: * gtk/gtkprinter.[ch]: * gtk/gtkprinteroption.[ch]: * gtk/gtkprinteroptionset.[ch]: * gtk/gtkprinteroptionwidget.[ch]: * gtk/gtkprintjob.[ch]: * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * gtk/gtkprintunixdialog.[ch]: * gtk/paper_names.c: * gtk/paper_names_offsets.c: Platform independent printing API and implementations for unix and windows. * gtk/gtkstock.h: * gtk/stock-icons/24/gtk-orientation-landscape.png: * gtk/stock-icons/24/gtk-orientation-portrait.png: * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png: Add stock icons for page orientation. * modules/Makefile.am: * modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am: * modules/printbackends/cups/gtkcupsutils.[ch]: * modules/printbackends/cups/gtkprintbackendcups.[ch]: * modules/printbackends/cups/gtkprintercups.[ch]: Cups printing backend for unix. * modules/printbackends/lpr/Makefile.am: * modules/printbackends/lpr/gtkprintbackendlpr.[ch]: lpr printing backend for unix. * modules/printbackends/pdf/Makefile.am: * modules/printbackends/pdf/gtkprintbackendpdf.[ch]: print-to-pdf printing backend for unix. * tests/.cvsignore: * tests/Makefile.am: * tests/print-editor.c: Test application for printing. * gdk/gdk.symbols: * gdk/win32/gdkevents-win32.c: * gdk/win32/gdkwin32.h: Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the mainloop while displaying a win32 common dialog. * gdk/directfb/Makefile.am: Whitespace cleanup.