summaryrefslogtreecommitdiff
path: root/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper/wrapper-plug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/wrapper/wrapper-plug.c b/wrapper/wrapper-plug.c
index 691c1977..99f00c27 100644
--- a/wrapper/wrapper-plug.c
+++ b/wrapper/wrapper-plug.c
@@ -103,11 +103,7 @@ wrapper_plug_init (WrapperPlug *plug)
/* set the colormap */
screen = gtk_window_get_screen (GTK_WINDOW (plug));
-
-
colormap = gdk_screen_get_rgba_colormap (screen);
- if (colormap == NULL)
- colormap = gdk_screen_get_rgb_colormap (screen);
if (colormap != NULL)
gtk_widget_set_colormap (GTK_WIDGET (plug), colormap);
}