summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetup.c
Commit message (Collapse)AuthorAgeFilesLines
* The big versioning cleanupMatthias Clasen2018-02-061-54/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* page setup: Add api to serialize to a GVariantMatthias Clasen2016-07-081-0/+83
| | | | | | This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499
* printing: Return correct width and height of page setupMarek Kasik2014-12-181-6/+14
| | | | | | | | Use correct margins when computing width and height returned by gtk_page_setup_get_page_width() and gtk_page_setup_get_page_height(). https://bugzilla.gnome.org/show_bug.cgi?id=671895
* gtk: add missing ownership annotations ported from ValaEvan Nemerson2014-05-271-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730745
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-17/+17
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-1/+1
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use proper quotesWilliam Jon McCann2014-02-051-4/+4
|
* docs: don't use <para id="">William Jon McCann2014-02-041-2/+1
|
* docs: replace all <examples> with markdown headingsWilliam Jon McCann2014-02-041-3/+2
|
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: don't use <emphasis>William Jon McCann2014-01-281-1/+1
| | | | It is a little heavy handed. The text can speak for itself.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* [GI] Annotate strings holding file paths as (type filename)Pavel Holejsovsky2011-01-181-3/+3
|
* docs: Move documentation to inline comments: GtkPageSetupPatrick Bernaud2010-11-091-0/+52
| | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634340 Signed-off-by: Javier Jardón <jjardon@gnome.org>
* Tons of transfer annotationsMatthias Clasen2010-09-211-3/+3
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* [annotations] Add allow-noneJohan Dahlin2010-02-191-7/+7
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* Bug 547944 – Self-reference in gtk_page_setup_load_file's docsClaudio Saavedra2008-08-151-1/+1
| | | | | | | | | | | | 2008-08-15 Claudio Saavedra <csaavedra@igalia.com> Bug 547944 – Self-reference in gtk_page_setup_load_file's docs * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file() documentation. svn path=/trunk/; revision=21130
* 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
* Use g_set_error_literal where appropriate. Bug #538640.Christian Persch2008-06-191-4/+4
| | | | svn path=/trunk/; revision=20463
* Don't leak paper_size here. (#488820, Morten Welinder)Matthias Clasen2008-03-121-0/+1
| | | | | | | | | | 2008-03-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak paper_size here. (#488820, Morten Welinder) svn path=/trunk/; revision=19781
* Go back to 2.13.0 as version for now, as there was no consensus to do theMatthias Clasen2008-02-151-2/+2
| | | | | | | | | | | | | 2008-02-15 Matthias Clasen <mclasen@redhat.com> * configure.in: Go back to 2.13.0 as version for now, as there was no consensus to do the jump. * many other places: Update Since: tags. svn path=/trunk/; revision=19586
* Correct "Since:" tags for GtkPageSetup and GtkPrintSettings asMathias Hasselmann2007-12-141-2/+2
| | | | | | | | next stable release shall be 2.16, not 2.14 - even if disagree. * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/ svn path=/trunk/; revision=19179
* Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()Mathias Hasselmann2007-12-141-37/+92
| | | | | | | | | | | functions and move that code into separate *_load_*() functions (#475565). * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h: Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file, gtk_print_settings_load_file and gtk_print_settings_load_key_file. Change the matching *_new_*() functions to use those functions. svn path=/trunk/; revision=19176
* Document new apiMatthias Clasen2007-05-261-16/+15
| | | | svn path=/trunk/; revision=17930
* Add a new error codeMatthias Clasen2007-04-291-0/+260
| | | | | | | | | | | | | | | | | | | | | 2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.h: Add a new error code * gtk/gtk.symbols: * gtk/gtkpagesetup.[hc]: * gtk/gtkpapersize.[hc]: * gtk/gtkprintsettings.[hc]: Add functions to serialize and deserialize page setups and print settings to files and key files. (#344515, Christian Persch) * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions. * tests/print-editor.c: Use the new functions to persist page setup and print settings. svn path=/trunk/; revision=17697
* Fix memory leak. Fixes bug #399907.Carlos Garcia Campos2007-01-231-1/+1
| | | | | | | | | 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org> * gtk/gtkpagesetup.c (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak. Fixes bug #399907. svn path=/trunk/; revision=17206
* Don't leak the old page size whenChristian Persch2006-12-041-0/+12
| | | | | | | 2006-12-04 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size), (gtk_page_setup_set_paper_size): Don't leak the old page size when
* Add gtkprintutils.[hc]Matthias Clasen2006-04-231-83/+255
| | | | | | | | | | | | | | | | | 2006-04-23 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am: Add gtkprintutils.[hc] * gtk/gtkprintutils.[hc]: New files, move the unit conversion functions here. * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintsettings.c: * gtk/gtkpagesetup.c: * gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm by the copies in gtkprintutils.c. * gtk/gtkpagesetup.[hc]: Use g types, add documentation.
* Merge the gtk-printing branch. For more detailed ChangeLog entries, seeAlexander Larsson2006-04-211-0/+288
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.