summaryrefslogtreecommitdiff
path: root/tests/testnouiprint.c
Commit message (Collapse)AuthorAgeFilesLines
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* perf/widgets.h tests/print-editor.c tests/prop-editor.hMichael Natterer2008-05-231-1/+1
| | | | | | | | | | | | | | | | | | | 2008-05-23 Michael Natterer <mitch@gimp.org> * perf/widgets.h * tests/print-editor.c * tests/prop-editor.h * tests/testmountoperation.c * tests/testmultidisplay.c * tests/testnouiprint.c * tests/testprint.c * tests/testprintfileoperation.h * tests/testtreesort.c * tests/textbuffertest.c: include <gtk/gtk.h> instead of single files. Remove some redundant includes. svn path=/trunk/; revision=20128
* updated explicit usage of RegisterClassExW to match the WNDCLASSEXW. TrueHans Breuer2007-06-151-1/+1
| | | | | | | | | | | | | 2007-06-15 Hans Breuer <hans@breuer.org> * gtk/makefile.msc.in tests/makefile.msc : updated * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW to match the WNDCLASSEXW. True dynamic linking of SetLayeredWindowAttributes * tests/testprint.c tests/testnouiprint.c : use G_PI svn path=/trunk/; revision=18140
* Don't open a display connection.Matthias Clasen2006-06-191-6/+2
| | | | | | | | | 2006-06-18 Matthias Clasen <mclasen@redhat.com> * tests/testnouiprint.c (main): Don't open a display connection. * gtk/gtkprintbackend.c (gtk_print_backend_load_modules): Make this work without a display connection. (339702, Alexander Larsson)
* Clean up APIs: Make async a setting instead of separate calls. CombineAlexander Larsson2006-06-071-2/+1
| | | | | | | | | | | | | | | | | | | 2006-06-07 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.[ch]: Clean up APIs: Make async a setting instead of separate calls. Combine settings like show_dialog, show_preview and pdf_target into an action enum that you pass to gtk_print_dialog_run(). * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * demos/gtk-demo/printing.c: Update to new APIs
* Further updates from the GtkPrintContext functions rename.Alexander Larsson2006-05-311-2/+2
| | | | | | | | | | | | | | | 2006-05-31 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Further updates from the GtkPrintContext functions rename. * modules/printbackends/cups/gtkcupsutils.c: Always set requesting-user-name when doing cups requests.
* Fix build errors.Alexander Larsson2006-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-12 Alexander Larsson <alexl@redhat.com> * gtk/gtkrecentmanager.c: Fix build errors. * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Rename functions from nr_of_pages to n_pages, and num_copies to n_copies to match other gtk+ names. * gtk/gtkmenu.c: (gtk_menu_popdown): Only re-set window group on popdown if we set it on popup (i.e. if there is a parent menu shell). Fixed part of bug #340401 * gtk/gtkwindow.c: Add (contruct) property "transient-for" to GtkWindow. This is needed for the fix to bug #340401. * gtk/gtkprintunixdialog.c: Use the transient-for property on construction and populate the dialog with widgets after that. This fixes bug #340401. More n_pages renames.
* Added new symbolsAlexander Larsson2006-05-041-0/+107
2006-05-04 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: Added new symbols * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintunixdialog.c: Destroy backends when finalizing dialogs. Fix printer leak in selected_printer_changed. * gtk/gtkprintbackend.[ch]: Convert from interface to baseclass. Move printer hashtable here so that the baseclass can handle the slightly complicated ownership model. Add gtk_print_backend_destroy which runs the dispose method, causing the ref-cycles between the backend and its printers to be broken. Add gtk_print_backend_unref_at_idle(). * gtk/gtkprinter.[ch]: GtkPrinter objects now ref their backend so that its always availible, since its needed for the printer object to work. This causes a reference-cycle that is broken using gtk_print_backend_destroy. Add gtk_printer_compare. * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.c: Implement !show_dialog for unix. Make sure the print data is fully spooled before returning from a sync run_dialog. * modules/printbackends/cups/gtkcupsutils.[ch]: Add gtk_cups_request_ipp_add_strings * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/cups/gtkprintercups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: Convert backends to derive instead of implementing interface. Move common code into baseclass. CUPS: Remove the printer polling in dispose, not finalize. In the cups watch, remove the backend at idle instead of immediately, since the unref can cause the module to be unloaded. Limit the number of printer attributes requested Get printer uri in initial printer listing so that we can use the printer object immediately. * tests/Makefile.am: * tests/testnouiprint.c: Add testcase for !show_dialog.