gtk_socket_steal(GTK_SOCKET(widget), xtbin->xtwindow);
gtk_xtbin_realize (GtkWidget *widget){  GtkXtBin     *xtbin;  GtkAllocation allocation = { 0, 0, 200, 200 };  gint  x, y, w, h, d; /* geometry of window */#ifdef DEBUG_XTBIN  printf("gtk_xtbin_realize()\n");#endif  g_return_if_fail (GTK_IS_XTBIN (widget));  xtbin = GTK_XTBIN (widget);  /* caculate the allocation before realize */  gdk_window_get_geometry(xtbin->parent_window, &x, &y, &w, &h, &d);  allocation.width = w;  allocation.height = h;  gtk_widget_size_allocate (widget, &allocation);#ifdef DEBUG_XTBIN  printf("initial allocation %d %d %d %d\n", x, y, w, h);#endif  xtbin->width = widget->allocation.width;  xtbin->height = widget->allocation.height;  /* use GtkSocket's realize */  (*GTK_WIDGET_CLASS(parent_class)->realize)(widget);  /* create the Xt client widget */  xt_client_create(&(xtbin->xtclient),        gtk_socket_get_id(GTK_SOCKET(xtbin)),        xtbin->height,        xtbin->width);  xtbin->xtwindow = XtWindow(xtbin->xtclient.child_widget);  gdk_flush();}