From 8615744bde57e487ab2a662811929b889499f4fd Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sat, 6 Feb 2016 07:44:26 +0100 Subject: GTK+3: add eom-window style class at top level --- src/eom-window.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/eom-window.c b/src/eom-window.c index 31be7c0..26c2463 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -4551,6 +4551,13 @@ eom_window_init (EomWindow *window) eom_debug (DEBUG_WINDOW); +#if GTK_CHECK_VERSION(3, 0, 0) + GtkStyleContext *context; + + context = gtk_widget_get_style_context (GTK_WIDGET (window)); + gtk_style_context_add_class (context, "eom-window"); +#endif + hints.min_width = EOM_WINDOW_MIN_WIDTH; hints.min_height = EOM_WINDOW_MIN_HEIGHT; -- cgit v1.2.1