GdkPixmap* pmap = gdk_pixmap_colormap_create_from_xpm_d(NULL,
nsCAutoString path(PR_GetEnv("MOZILLA_FIVE_HOME"));  if (path.IsEmpty()) { path.Assign("splash.xpm"); } else { path.Append("/splash.xpm"); }   GdkPixmap* pmap = gdk_pixmap_colormap_create_from_xpm(NULL, gdk_colormap_get_system(), NULL, NULL, path.get());  if (!pmap) {  pmap = gdk_pixmap_colormap_create_from_xpm_d(NULL,
NS_IMETHODIMP nsSplashScreenGtk::Show(){#ifdef MOZ_PHOENIX  if (!splash_xpm[0])    return NS_OK;#endif  /* create a pixmap based on xpm data */  GdkPixmap* pmap = gdk_pixmap_colormap_create_from_xpm_d(NULL,                                                    gdk_colormap_get_system(),                                                    NULL, NULL, splash_xpm);  if (!pmap) {    gdk_window_destroy(mDialog);    mDialog = nsnull;    return NS_ERROR_FAILURE;  }  gint width, height;  gdk_window_get_size(pmap, &width, &height);  GdkWindowAttr attr;  attr.window_type = GDK_WINDOW_TEMP;  attr.wclass = GDK_INPUT_OUTPUT;  attr.x = (gdk_screen_width() >> 1) - (width >> 1);  attr.y = (gdk_screen_height() >> 1) - (height >> 1);  attr.width = width;  attr.height = height;  attr.event_mask = 0;  mDialog = gdk_window_new(NULL, &attr, GDK_WA_X | GDK_WA_Y);  gdk_window_set_back_pixmap(mDialog, pmap, FALSE);  gdk_pixmap_unref(pmap);  gdk_window_show(mDialog);  return NS_OK;}