#include "wx/platform.h"
#include "wx/gtk/win_gtk.h"
-#include "gtk/gtksignal.h"
-#include "gtk/gtkprivate.h"
-#include "gdk/gdkx.h"
#ifdef __cplusplus
extern "C" {
{
GtkPizza *pizza;
- pizza = gtk_type_new (gtk_pizza_get_type ());
+ pizza = g_object_new (gtk_pizza_get_type (), NULL);
return GTK_WIDGET (pizza);
}
g_return_if_fail (pizza != NULL);
g_return_if_fail (GTK_IS_PIZZA (pizza));
- if ((GtkMyShadowType) pizza->shadow_type != type)
+ if (pizza->shadow_type != type)
{
pizza->shadow_type = type;
children = children->next;
if ( GTK_WIDGET_VISIBLE (child->widget) &&
- !GTK_WIDGET_MAPPED (child->widget) &&
- TRUE)
+ !GTK_WIDGET_MAPPED (child->widget) )
{
gtk_widget_map (child->widget);
}