summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.c
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2006-06-20 19:48:37 +0000
committerMurray Cumming <murrayc@src.gnome.org>2006-06-20 19:48:37 +0000
commit41b067c43a446ab7f4e19636a7fef3866ec42cca (patch)
treeb511a47011cb097a991e3ae8545b55e62d0a9d10 /gtk/gtkprintoperation.c
parentd14e9a14ad745c12a985fbeb82bc0114fad5689f (diff)
downloadgtk+-41b067c43a446ab7f4e19636a7fef3866ec42cca.tar.gz
Correctly register the done signal - it sends an enum, not an int.
2006-06-20 Murray Cumming <murrayc@murrayc.com> * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): Correctly register the done signal - it sends an enum, not an int.
Diffstat (limited to 'gtk/gtkprintoperation.c')
-rw-r--r--gtk/gtkprintoperation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 001ab3f497..7667b6e202 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -556,8 +556,8 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintOperationClass, done),
NULL, NULL,
- g_cclosure_marshal_VOID__INT,
- G_TYPE_NONE, 1, G_TYPE_INT);
+ g_cclosure_marshal_VOID__ENUM,
+ G_TYPE_NONE, 1, GTK_TYPE_PRINT_OPERATION_RESULT);
/**
* GtkPrintOperation::begin-print: