return FALSE;
return PR_FALSE;
static void set_icon (GdkWindow * w);//-------------------------------------------------------------------------//// nsWindow constructor////-------------------------------------------------------------------------nsWindow::nsWindow(){  NS_INIT_REFCNT();  strcpy(gInstanceClassName, "nsWindow");  mFontMetrics = nsnull;  mVBox = nsnull;  mIgnoreResize = PR_FALSE;  mResized = PR_FALSE;  mVisible = PR_FALSE;  mDisplayed = PR_FALSE;  mLowerLeft = PR_FALSE;  mFont = nsnull;}//-------------------------------------------------------------------------//// nsWindow destructor////-------------------------------------------------------------------------nsWindow::~nsWindow(){  OnDestroy();  gtk_widget_destroy(mWidget);  if (nsnull != mGC) {    gdk_gc_destroy(mGC);    mGC = nsnull;//    ::XFreeGC((Display *)GetNativeData(NS_NATIVE_DISPLAY),mGC);  }}//-------------------------------------------------------------------------void nsWindow::ConvertToDeviceCoordinates(nscoord &aX, nscoord &aY){}//-------------------------------------------------------------------------//// Setup initial tooltip rectangles////-------------------------------------------------------------------------NS_METHOD nsWindow::SetTooltips(PRUint32 aNumberOfTips,nsRect* aTooltipAreas[]){  return NS_OK;}//-------------------------------------------------------------------------//// Update all tooltip rectangles////-------------------------------------------------------------------------NS_METHOD nsWindow::UpdateTooltips(nsRect* aNewTips[]){  return NS_OK;}//-------------------------------------------------------------------------//// Remove all tooltip rectangles////-------------------------------------------------------------------------NS_METHOD nsWindow::RemoveTooltips(){  return NS_OK;}static gint window_realize_callback(GtkWidget *window, gpointer data){  if (window->window)    set_icon(window->window);  return FALSE;}static void set_icon (GdkWindow * w){  GdkWindow *ic_win;  GdkWindowAttr att;  XIconSize *is;  gint i, count, j;  GdkPixmap *pmap, *mask;  if ((XGetIconSizes (GDK_DISPLAY (), GDK_ROOT_WINDOW (), &is, &count)) &&      (count > 0))    {      i = 0;			/* use first icon size - not much point using the others */      att.width = is[i].max_width;      att.height = is[i].max_height;      /*       * raster had:       * att.height = 3 * att.width / 4;       * but this didn't work  (it scaled the icons incorrectly       */      /* make sure the icon is inside the min and max sizes */      if (att.height < is[i].min_height)	att.height = is[i].min_height;      if (att.height > is[i].max_height)	att.height = is[i].max_height;      if (is[i].width_inc > 0)	{	  j = ((att.width - is[i].min_width) / is[i].width_inc);	  att.width = is[i].min_width + (j * is[i].width_inc);	}      if (is[i].height_inc > 0)	{	  j = ((att.height - is[i].min_height) / is[i].height_inc);	  att.height = is[i].min_height + (j * is[i].height_inc);	}      XFree (is);    }  else    /* no icon size hints at all? ok - invent our own size */    {      att.width = 32;      att.height = 24;    }  att.wclass = GDK_INPUT_OUTPUT;  att.window_type = GDK_WINDOW_TOPLEVEL;  att.x = 0;  att.y = 0;  att.visual = gdk_rgb_get_visual ();  att.colormap = gdk_rgb_get_cmap ();  ic_win = gdk_window_new (nsnull, &att, GDK_WA_VISUAL | GDK_WA_COLORMAP);  gdk_window_set_icon (w, ic_win, nsnull, nsnull);  pmap = gdk_pixmap_create_from_xpm_d(w, &mask, 0, mozilla_icon_xpm);  gdk_window_set_back_pixmap (ic_win, pmap, FALSE);  gdk_window_clear (ic_win);  gdk_window_shape_combine_mask (ic_win, mask, 0, 0);  gdk_pixmap_unref(pmap);}