Commit c0573272 authored by Matthias Clasen's avatar Matthias Clasen

printing: Make GtkPrinter have a useful icon by default

It causes complication elsewhere if gtk_printer_get_icon_name()
returns NULL initially. So make the icon name default to
parent f634684e
......@@ -243,7 +243,7 @@ gtk_printer_init (GtkPrinter *printer)
priv->name = NULL;
priv->location = NULL;
priv->description = NULL;
priv->icon_name = NULL;
priv->icon_name = g_strdup ("printer");
priv->is_active = TRUE;
priv->is_paused = FALSE;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment