X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-annotation-window.c;h=aa7babdd477d29ff6a567a4820d8639ca6759825;hb=223cc03e0275c77c4482ed0495b3bd15993a3ab8;hp=cbed0f74cc4e455678536b16b396551ac33e93e7;hpb=7950f00952243ce2d653068afb0ac1a370b5360a;p=evince.git diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index cbed0f74..aa7babdd 100644 --- a/libview/ev-annotation-window.c +++ b/libview/ev-annotation-window.c @@ -139,10 +139,6 @@ ev_annotation_window_set_color (EvAnnotationWindow *window, gcolor = *color; - /* Allocate these colors */ - gdk_colormap_alloc_color (gtk_widget_get_colormap (GTK_WIDGET (window)), - &gcolor, FALSE, TRUE); - /* Apply colors to style */ rc_style = gtk_widget_get_modifier_style (GTK_WIDGET (window)); rc_style->base[GTK_STATE_NORMAL] = gcolor;