[evince] libview: add missing transfer and element-type annotations



commit 4bc744c4070dbbadc489090506be584137586d73
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 7 15:53:56 2013 +0100

    libview: add missing transfer and element-type annotations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691354

 libview/ev-job-scheduler.c   |    5 +++++
 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 d1e2877..d261b80 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 7f97cbd..15e5eb3 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -196,6 +196,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)
 {
@@ -218,6 +224,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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]