Skip to content

Commit

Permalink
libview: add missing transfer and element-type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosimo Cecchi committed Jan 28, 2013
1 parent d6f7e03 commit 4bc744c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libview/ev-job-scheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
12 changes: 12 additions & 0 deletions libview/ev-print-operation.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 4bc744c

Please sign in to comment.