summaryrefslogtreecommitdiff
path: root/src/themes/coco/coco-theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/coco/coco-theme.c')
-rw-r--r--src/themes/coco/coco-theme.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index 805177e..ab817a4 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -446,7 +446,6 @@ GtkWindow *
create_notification(UrlClickedCb url_clicked)
{
GtkWidget *win;
- GtkWidget *drawbox;
GtkWidget *main_vbox;
GtkWidget *vbox;
GtkWidget *alignment;
@@ -501,20 +500,9 @@ create_notification(UrlClickedCb url_clicked)
g_signal_connect(G_OBJECT(win), "configure_event",
G_CALLBACK(configure_event_cb), windata);
- /*
- * For some reason, there are occasionally graphics glitches when
- * repainting the window. Despite filling the window with a background
- * color, parts of the other windows on the screen or the shadows around
- * notifications will appear on the notification. Somehow, adding this
- * eventbox makes that problem just go away. Whatever works for now.
- */
- drawbox = gtk_event_box_new();
- gtk_widget_show(drawbox);
- gtk_container_add(GTK_CONTAINER(win), drawbox);
-
main_vbox = gtk_vbox_new(FALSE, 0);
gtk_widget_show(main_vbox);
- gtk_container_add(GTK_CONTAINER(drawbox), main_vbox);
+ gtk_container_add (GTK_CONTAINER (win), main_vbox);
#if GTK_CHECK_VERSION (3, 0, 0)
g_signal_connect (G_OBJECT (main_vbox), "draw",