diff options
author | Cosimo Cecchi <[email protected]> | 2013-01-07 15:53:56 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-24 12:03:14 +0200 |
commit | 91e2f8d03667881e231bc4dbf18d716bca6defe5 (patch) | |
tree | eed86dbd1ac86ea2097de92916256144721a8623 | |
parent | 1c0f5a75fcccb9cd2b1a5e1655e3d7d0e39144d5 (diff) | |
download | atril-91e2f8d03667881e231bc4dbf18d716bca6defe5.tar.bz2 atril-91e2f8d03667881e231bc4dbf18d716bca6defe5.tar.xz |
libview: add missing transfer and element-type annotations
https://bugzilla.gnome.org/show_bug.cgi?id=691354
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=4bc744c
-rw-r--r-- | libview/ev-job-scheduler.c | 5 | ||||
-rw-r--r-- | libview/ev-print-operation.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/libview/ev-job-scheduler.c b/libview/ev-job-scheduler.c index dfb32496..2fea0224 100644 --- a/libview/ev-job-scheduler.c +++ b/libview/ev-job-scheduler.c @@ -307,6 +307,11 @@ ev_job_scheduler_update_job (EvJob *job, } } +/** + * ev_job_scheduler_get_running_thread_job: + * + * Returns: (transfer none): an #EvJob + */ EvJob * ev_job_scheduler_get_running_thread_job (void) { diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c index 7ca2b41e..9449dd37 100644 --- a/libview/ev-print-operation.c +++ b/libview/ev-print-operation.c @@ -195,6 +195,12 @@ ev_print_operation_set_print_settings (EvPrintOperation *op, class->set_print_settings (op, print_settings); } +/** + * ev_print_operation_get_print_settings: + * @op: an #EvPrintOperation + * + * Returns: (transfer none): a #GtkPrintSettings + */ GtkPrintSettings * ev_print_operation_get_print_settings (EvPrintOperation *op) { @@ -217,6 +223,12 @@ ev_print_operation_set_default_page_setup (EvPrintOperation *op, class->set_default_page_setup (op, page_setup); } +/** + * ev_print_operation_get_default_page_setup: + * @op: an #EvPrintOperation + * + * Returns: (transfer none): a #GtkPageSetup + */ GtkPageSetup * ev_print_operation_get_default_page_setup (EvPrintOperation *op) { |