summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperationpreview.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-06-15 04:53:37 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-06-15 04:53:37 +0000
commit9c1cb391988a3df9ce4d7c746ee011105647be2e (patch)
tree18d5abc0a5aa86a906504142eeb75275cd2e047e /gtk/gtkprintoperationpreview.c
parent0799004f58324d67b637e85c98c50f97624e98cd (diff)
downloadgtk+-9c1cb391988a3df9ce4d7c746ee011105647be2e.tar.gz
fix 344891
Diffstat (limited to 'gtk/gtkprintoperationpreview.c')
-rw-r--r--gtk/gtkprintoperationpreview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkprintoperationpreview.c b/gtk/gtkprintoperationpreview.c
index c0252b7b94..776fb36202 100644
--- a/gtk/gtkprintoperationpreview.c
+++ b/gtk/gtkprintoperationpreview.c
@@ -72,12 +72,12 @@ gtk_print_operation_preview_base_init (gpointer g_iface)
NULL, NULL,
g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE, 1,
- G_TYPE_OBJECT);
+ GTK_TYPE_PRINT_CONTEXT);
g_signal_new (I_("got-page-size"),
GTK_TYPE_PRINT_OPERATION_PREVIEW,
G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GtkPrintOperationPreviewIface, ready),
+ G_STRUCT_OFFSET (GtkPrintOperationPreviewIface, got_page_size),
NULL, NULL,
_gtk_marshal_VOID__OBJECT_OBJECT,
G_TYPE_NONE, 2,
@@ -111,7 +111,7 @@ gboolean
gtk_print_operation_preview_is_selected (GtkPrintOperationPreview *preview,
gint page_nr)
{
- g_return_if_fail (GTK_IS_PRINT_OPERATION_PREVIEW (preview));
+ g_return_val_if_fail (GTK_IS_PRINT_OPERATION_PREVIEW (preview), FALSE);
return GTK_PRINT_OPERATION_PREVIEW_GET_IFACE (preview)->is_selected (preview, page_nr);
}