summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-06 07:44:26 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-06 07:44:26 +0100
commit8615744bde57e487ab2a662811929b889499f4fd (patch)
tree88de2d2fb062686de642accce48fd2a6975def9b /src
parent83cd3ac26d0f937d625a228a564bd735fae568b2 (diff)
downloadeom-8615744bde57e487ab2a662811929b889499f4fd.tar.bz2
eom-8615744bde57e487ab2a662811929b889499f4fd.tar.xz
GTK+3: add eom-window style class at top level
Diffstat (limited to 'src')
-rw-r--r--src/eom-window.c7
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;