From 9657ec9331ef941d9aa11951f6fa02534a359fae Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 13 Jan 2016 23:37:08 -0500 Subject: [PATCH] print dialog: Set a CSS name The CSS name for GtkPrintUnixDialog is printdialog. --- gtk/gtkprintunixdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 4995a5b731..fd917efc78 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -112,6 +112,10 @@ * * * ]| + * + * # CSS nodes + * + * GtkPrintUnixDialog has a single CSS node with name printdialog. */ @@ -553,6 +557,8 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class) gtk_widget_class_bind_template_callback (widget_class, update_number_up_layout); gtk_widget_class_bind_template_callback (widget_class, redraw_page_layout_preview); gtk_widget_class_bind_template_callback (widget_class, draw_page_cb); + + gtk_widget_class_set_css_name (widget_class, "printdialog"); } /* Returns a toplevel GtkWindow, or NULL if none */