diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-04-29 06:34:12 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-04-29 06:34:12 +0000 |
commit | 557ff70925753d77aa8704ca6b979161832d4176 (patch) | |
tree | c2bcf387d27f0161a1bb08203756308f3a9c1155 /gtk/gtkprintoperation.c | |
parent | 3c5bd522b36383afa704d39bf12963683a4663ea (diff) | |
download | gtk+-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.c | 3 |
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; |