[gtk] print operation: Reinstate the priv pointer



commit 1d92fb1013add68186b27b9809dd7bcbac3df791
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 13 15:58:07 2019 -0400

    print operation: Reinstate the priv pointer
    
    The attempt to drop it in 6a669265ac6854af0ec
    was incomplete, and non-working.

 gtk/gtkprintoperation.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 03735d5ba9..0a8647f64a 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -253,6 +253,7 @@ gtk_print_operation_init (GtkPrintOperation *operation)
    * by the job number.
    */
   priv->job_name = g_strdup_printf (_("%s job #%d"), appname, ++job_nr);
+  operation->priv = priv;
 }
 
 static void


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