From 3374686ba24934f9915bc460369184b708ff9ffe Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 2 Apr 2018 14:54:25 +0300 Subject: libview: fix occasional black color of annotation window border and remove redundant gtk_container_set_border_width call taken from: https://github.com/GNOME/evince/commit/204d543efd35f0925b537a27c088c3d0d7a319b2 --- libview/ev-annotation-window.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libview') diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index 776187f2..8cc682a9 100644 --- a/libview/ev-annotation-window.c +++ b/libview/ev-annotation-window.c @@ -365,13 +365,11 @@ ev_annotation_window_init (EvAnnotationWindow *window) gtk_widget_show (hbox); gtk_container_add (GTK_CONTAINER (window), vbox); - gtk_container_set_border_width (GTK_CONTAINER (window), 0); gtk_widget_show (vbox); gtk_widget_add_events (GTK_WIDGET (window), GDK_BUTTON_PRESS_MASK | GDK_KEY_PRESS_MASK); - gtk_widget_set_app_paintable (GTK_WIDGET (window), TRUE); gtk_container_set_border_width (GTK_CONTAINER (window), 2); -- cgit v1.2.1