widget_class->size_allocate = gtk_mozilla_size_allocate;
static void gtk_mozilla_realize(GtkWidget *widget);static void gtk_mozilla_finalize (GtkObject *object);typedef gboolean (*GtkSignal_BOOL__POINTER_INT) (GtkObject * object,                                                 gpointer arg1,                                                 gint arg2,                                                 gpointer user_data);extern "C" void gtk_mozilla_marshal_BOOL__POINTER_INT (GtkObject * object,                                       GtkSignalFunc func,                                       gpointer func_data,                                       GtkArg * args){  GtkSignal_BOOL__POINTER_INT rfunc;  gboolean *return_val;  return_val = GTK_RETLOC_BOOL (args[2]);  rfunc = (GtkSignal_BOOL__POINTER_INT) func;  *return_val = (*rfunc) (object,                          GTK_VALUE_POINTER (args[0]),                          GTK_VALUE_INT (args[1]),                          func_data);}enum {  WILL_LOAD_URL,  BEGIN_LOAD_URL,  END_LOAD_URL,  LAST_SIGNAL};static guint mozilla_signals[LAST_SIGNAL] = { 0 };static GtkFixedClass *parent_class = NULL;static voidgtk_mozilla_class_init (GtkMozillaClass *klass){  GtkObjectClass *object_class;  GtkWidgetClass *widget_class;  object_class = (GtkObjectClass*) klass;  widget_class = (GtkWidgetClass*) klass;  parent_class = (GtkFixedClass *)gtk_type_class (GTK_TYPE_FIXED);  mozilla_signals[WILL_LOAD_URL] =    gtk_signal_new ("will_load_url",                    GTK_RUN_LAST,                    object_class->type,                    GTK_SIGNAL_OFFSET (GtkMozillaClass, will_load_url),                    gtk_mozilla_marshal_BOOL__POINTER_INT,                    GTK_TYPE_BOOL, 2,                    GTK_TYPE_STRING,                    GTK_TYPE_INT);    mozilla_signals[BEGIN_LOAD_URL] =    gtk_signal_new ("begin_load_url",                    GTK_RUN_FIRST,                    object_class->type,                    GTK_SIGNAL_OFFSET (GtkMozillaClass, begin_load_url),                    gtk_marshal_NONE__POINTER,                    GTK_TYPE_NONE, 1,                    GTK_TYPE_STRING);  mozilla_signals[END_LOAD_URL] =    gtk_signal_new ("end_load_url",                    GTK_RUN_FIRST,                    object_class->type,                    GTK_SIGNAL_OFFSET (GtkMozillaClass, end_load_url),                    gtk_marshal_NONE__POINTER_INT,                    GTK_TYPE_NONE, 2,                    GTK_TYPE_STRING,                    GTK_TYPE_INT);  gtk_object_class_add_signals (object_class, mozilla_signals, LAST_SIGNAL);  object_class->finalize = gtk_mozilla_finalize;  widget_class->realize = gtk_mozilla_realize;  klass->will_load_url = NULL;  klass->begin_load_url = NULL;  klass->end_load_url = NULL;}static voidgtk_mozilla_realize (GtkWidget *widget){  //printf("gtk_mozilla_realize()\n");  GtkMozilla *moz = GTK_MOZILLA(widget);  class GtkMozillaContainer *moz_container;  if (GTK_WIDGET_CLASS (parent_class)->realize)    (* GTK_WIDGET_CLASS (parent_class)->realize) (widget);  moz_container = (class GtkMozillaContainer *)moz->mozilla_container;    moz_container->Show();}