forked from AuroraMiddleware/gtk
Return value from non-void function
This commit is contained in:
parent
bbe16ec60f
commit
02457e3a93
@ -3243,7 +3243,7 @@ gtk_print_operation_get_has_selection (GtkPrintOperation *op)
|
|||||||
gint
|
gint
|
||||||
gtk_print_operation_get_n_pages_to_print (GtkPrintOperation *op)
|
gtk_print_operation_get_n_pages_to_print (GtkPrintOperation *op)
|
||||||
{
|
{
|
||||||
g_return_if_fail (GTK_IS_PRINT_OPERATION (op));
|
g_return_val_if_fail (GTK_IS_PRINT_OPERATION (op), -1);
|
||||||
|
|
||||||
return op->priv->nr_of_pages_to_print;
|
return op->priv->nr_of_pages_to_print;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user