tRemove (apparently) redundant messing with colormaps. - vaccinewars - be a doc… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 39386c9a043c1d52435bcba4b40a047cd6f0982e | |
parent 763fc9ea13305b730bab052f6e3c9161c838eff9 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 18 Mar 2002 13:16:53 +0000 | |
Remove (apparently) redundant messing with colormaps. | |
Diffstat: | |
M src/gtkport/gtkport.c | 3 --- | |
1 file changed, 0 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/src/gtkport/gtkport.c b/src/gtkport/gtkport.c | |
t@@ -5123,7 +5123,6 @@ GtkWidget *gtk_url_new(const gchar *text, const gchar *t… | |
gchar *pattern; | |
GtkStyle *style; | |
GdkColor color; | |
- GdkColormap *colormap; | |
color.red = 0; | |
color.green = 0; | |
t@@ -5133,8 +5132,6 @@ GtkWidget *gtk_url_new(const gchar *text, const gchar *t… | |
/* Set the text colour */ | |
style = gtk_style_new(); | |
- colormap = gtk_widget_get_colormap(label); | |
- gdk_colormap_alloc_color(colormap, &color, FALSE, TRUE); | |
style->fg[GTK_STATE_NORMAL] = color; | |
gtk_widget_set_style(label, style); | |