summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-05 11:23:14 +0100
committerWolfgang Ulbrich <[email protected]>2015-11-05 11:23:14 +0100
commit743dcd2ce95eb00c4713588338eba4feb0ae2e9f (patch)
tree9e840c31968d664c8c52cf254e091925e879eab6
parentc260b4bcdd16bd08b478b6684df23bbd816f9038 (diff)
downloadmate-notification-daemon-743dcd2ce95eb00c4713588338eba4feb0ae2e9f.tar.bz2
mate-notification-daemon-743dcd2ce95eb00c4713588338eba4feb0ae2e9f.tar.xz
GTK3 Nodoka: remove wrong border from notification
-rw-r--r--src/themes/nodoka/nodoka-theme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c
index 948fb4b..2adea4d 100644
--- a/src/themes/nodoka/nodoka-theme.c
+++ b/src/themes/nodoka/nodoka-theme.c
@@ -872,7 +872,9 @@ create_notification(UrlClickedCb url_clicked)
main_vbox = gtk_vbox_new(FALSE, 0);
gtk_widget_show(main_vbox);
gtk_container_add(GTK_CONTAINER(win), main_vbox);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_container_set_border_width(GTK_CONTAINER(main_vbox), 1);
+#endif
#if GTK_CHECK_VERSION (3, 0, 0)
g_signal_connect (G_OBJECT (main_vbox), "draw", G_CALLBACK (on_draw), windata);