diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-06 07:44:26 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-06 07:44:26 +0100 |
commit | 8615744bde57e487ab2a662811929b889499f4fd (patch) | |
tree | 88de2d2fb062686de642accce48fd2a6975def9b /src/eom-window.c | |
parent | 83cd3ac26d0f937d625a228a564bd735fae568b2 (diff) | |
download | eom-8615744bde57e487ab2a662811929b889499f4fd.tar.bz2 eom-8615744bde57e487ab2a662811929b889499f4fd.tar.xz |
GTK+3: add eom-window style class at top level
Diffstat (limited to 'src/eom-window.c')
-rw-r--r-- | src/eom-window.c | 7 |
1 files changed, 7 insertions, 0 deletions
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; |