diff options
-rw-r--r-- | gtk/gtkprintoperation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index e9b5bb8eca..c8a85e7749 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -3243,7 +3243,7 @@ gtk_print_operation_get_has_selection (GtkPrintOperation *op) gint 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; } |