lpr: fix cast warning

This commit is contained in:
Christian Hergert 2020-11-18 20:06:38 -08:00
parent f32ae2964a
commit ee47ddf5fd

View File

@ -405,7 +405,7 @@ lpr_printer_get_options (GtkPrinter *printer,
option = gtk_printer_option_new ("gtk-n-up", _("Pages Per Sheet"), GTK_PRINTER_OPTION_TYPE_PICKONE); option = gtk_printer_option_new ("gtk-n-up", _("Pages Per Sheet"), GTK_PRINTER_OPTION_TYPE_PICKONE);
gtk_printer_option_choices_from_array (option, G_N_ELEMENTS (n_up), gtk_printer_option_choices_from_array (option, G_N_ELEMENTS (n_up),
n_up, n_up); (char **)n_up, (char **)n_up);
gtk_printer_option_set (option, "1"); gtk_printer_option_set (option, "1");
gtk_printer_option_set_add (set, option); gtk_printer_option_set_add (set, option);
g_object_unref (option); g_object_unref (option);