From 204d543efd35f0925b537a27c088c3d0d7a319b2 Mon Sep 17 00:00:00 2001 From: Giselle Machado Date: Wed, 25 Jun 2014 11:37:41 +0200 Subject: [PATCH] Annotation window color is not sensitive to theme The annotation window color should be the annotation color and the system should not change it. https://bugzilla.gnome.org/show_bug.cgi?id=732211 Also removing a redundant set_border_width (the same method is called again 7 lines below). --- libview/ev-annotation-window.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index d88e6578..ee002ce3 100644 --- a/libview/ev-annotation-window.c +++ b/libview/ev-annotation-window.c @@ -377,13 +377,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);