diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-29 09:18:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-29 09:18:07 +0000 |
commit | f8f9384537488823076fe6c158d973ef889d4613 (patch) | |
tree | 0959385899794a9879732f5af8d7a00cd57e216e /gtk/gtkprinter.c | |
parent | 65a4b057c475afd4cbf97e6fcffb26232d8acb6b (diff) | |
download | gtk+-f8f9384537488823076fe6c158d973ef889d4613.tar.gz |
Documentation additions and fixes.
2006-06-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinter.c:
* gtk/gtkprintunixdialog.c:
* gtk/gtkprintoperationpreview.c:
* gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context):
* gtk/gtklabel.c (gtk_label_set_line_wrap_mode):
* gtk/gtkentry.c (gtk_entry_new):
* gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label):
* gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
additions and fixes.
* gtk/gtkaspectframe.h:
* gtk/gtkaboutdialog.c:
* gtk/gtkcalendar.c:
* gtk/gtkinputdialog.c:
* gtk/gtk.symbols: Remove unnecessary includes.
* gtk/gtkprogress.[hc]:
* gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
remove unnecessary includes.
Diffstat (limited to 'gtk/gtkprinter.c')
-rw-r--r-- | gtk/gtkprinter.c | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/gtk/gtkprinter.c b/gtk/gtkprinter.c index dc5d205948..c0230472aa 100644 --- a/gtk/gtkprinter.c +++ b/gtk/gtkprinter.c @@ -644,6 +644,17 @@ gtk_printer_is_virtual (GtkPrinter *printer) return printer->priv->is_virtual; } +/** + * gtk_printer_accepts_pdf: + * @printer: a #GtkPrinter + * + * Returns whether the printer accepts input in + * PDF format. + * + * Return value: %TRUE if @printer accepts PDF + * + * Since: 2.10 + */ gboolean gtk_printer_accepts_pdf (GtkPrinter *printer) { @@ -652,6 +663,17 @@ gtk_printer_accepts_pdf (GtkPrinter *printer) return printer->priv->accepts_pdf; } +/** + * gtk_printer_accepts_ps: + * @printer: a #GtkPrinter + * + * Returns whether the printer accepts input in + * PostScript format. + * + * Return value: %TRUE if @printer accepts PostScript + * + * Since: 2.10 + */ gboolean gtk_printer_accepts_ps (GtkPrinter *printer) { @@ -790,8 +812,21 @@ _gtk_printer_get_capabilities (GtkPrinter *printer) return backend_class->printer_get_capabilities (printer); } +/** + * gtk_printer_compare: + * @a: a #GtkPrinter + * @b: another #GtkPrinter + * + * Compares two printers. + * + * Return value: 0 if the printer match, a negative value if @a < @b, + * or a positive value if @a > @b + * + * Since: 2.10 + */ gint -gtk_printer_compare (GtkPrinter *a, GtkPrinter *b) +gtk_printer_compare (GtkPrinter *a, + GtkPrinter *b) { const char *name_a, *name_b; |