(gtk) #744: back out the colormap patch until we have a better handle on how to do it Right.

This commit is contained in:
Charles Kerr 2008-03-08 17:28:15 +00:00
parent ea7cca30d2
commit cd5103011a
1 changed files with 0 additions and 9 deletions

View File

@ -459,15 +459,6 @@ tr_window_new( GtkUIManager * ui_manager, TrCore * core )
gtk_ui_manager_get_accel_group (ui_manager)); gtk_ui_manager_get_accel_group (ui_manager));
g_signal_connect( self, "realize", G_CALLBACK(realized_cb), NULL); g_signal_connect( self, "realize", G_CALLBACK(realized_cb), NULL);
#if GTK_CHECK_VERSION(2,10,0)
{
GdkScreen * screen = gtk_widget_get_screen( self );
GdkColormap * colormap = gdk_screen_get_rgba_colormap( screen );
if( colormap && gdk_screen_is_composited( screen ) )
gtk_widget_set_colormap( self, colormap );
}
#endif
/* window's main container */ /* window's main container */
vbox = gtk_vbox_new (FALSE, 0); vbox = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER(self), vbox); gtk_container_add (GTK_CONTAINER(self), vbox);