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=/branches/gtk-2-10/; revision=17699
This commit is contained in:
committed by
Matthias Clasen
parent
3098de7054
commit
c80541a3e4
@@ -1,3 +1,11 @@
|
||||
2007-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Merge from trunk:
|
||||
|
||||
* gtk/gtkprintoperation.c (print_pages_idle): Also check
|
||||
the default handler when deciding whether to emit the
|
||||
paginate signal. (#345345, Yevgen Muntyan)
|
||||
|
||||
2007-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Merge from trunk:
|
||||
|
||||
@@ -2063,7 +2063,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user