gtk+ r17722 - in trunk: . gtk tests



Author: matthiasc
Date: 2007-04-30 05:45:33 +0100 (Mon, 30 Apr 2007)
New Revision: 17722
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17722&view=rev

Modified:
   trunk/ChangeLog
   trunk/gtk/gtkprintoperation.c
   trunk/tests/print-editor.c
Log:
2007-04-29  Matthias Clasen <mclasen redhat com>

        Fix some issues with reference handling in the printing
        code.  (#429902, Mathias Hasselmann)

        * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
        Unref the print context, if we have one.
        (gtk_print_operation_done): Add a default ::done handler
        that unrefs the print context.
        (preview_ready): Take a reference on the print operation
        preview here.
        (print_pages_idle): ...not here,
        (preview_print_idle_done): ...and release it here.

        * tests/print-editor.c (preview_cb): Take a reference
        on the print operation here.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]