summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-04-29 06:34:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-04-29 06:34:12 +0000
commit557ff70925753d77aa8704ca6b979161832d4176 (patch)
treec2bcf387d27f0161a1bb08203756308f3a9c1155 /gtk/gtkprintoperation.c
parent3c5bd522b36383afa704d39bf12963683a4663ea (diff)
downloadgtk+-557ff70925753d77aa8704ca6b979161832d4176.tar.gz
Also check the default handler when deciding whether to emit the paginate
2007-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.c (print_pages_idle): Also check the default handler when deciding whether to emit the paginate signal. (#345345, Yevgen Muntyan) svn path=/trunk/; revision=17698
Diffstat (limited to 'gtk/gtkprintoperation.c')
-rw-r--r--gtk/gtkprintoperation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index c04abbc431..9d12054ae4 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -2050,7 +2050,8 @@ print_pages_idle (gpointer user_data)
goto out;
}
- if (g_signal_has_handler_pending (data->op, signals[PAGINATE], 0, FALSE))
+ if (GTK_PRINT_OPERATION_GET_CLASS (data->op)->paginage != NULL ||
+ g_signal_has_handler_pending (data->op, signals[PAGINATE], 0, FALSE))
{
gboolean paginated = FALSE;