| 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(-)
--- |
| t@@ -5123,7 +5123,6 @@ GtkWidget *gtk_url_new(const gchar *text, const gchar *target,
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 *target,
/* 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);
|