From 91e2f8d03667881e231bc4dbf18d716bca6defe5 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 7 Jan 2013 15:53:56 +0100 Subject: 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 --- libview/ev-job-scheduler.c | 5 +++++ libview/ev-print-operation.c | 12 ++++++++++++ 2 files changed, 17 insertions(+) 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) { -- cgit v1.2.1