GtkWidget *widget = gtk_button_new();
gs_gtkStyle = gtk_rc_get_style(widget);
wxASSERT( gs_gtkStyle != NULL );
- g_object_ref(G_OBJECT(gs_gtkStyle));
+ g_object_ref(gs_gtkStyle);
gtk_widget_destroy(widget);
}
GDK_INTERP_BILINEAR);
if (p2)
{
- g_object_unref (G_OBJECT (pixbuf));
+ g_object_unref (pixbuf);
pixbuf = p2;
}
}
{
if (gs_gtkStyle)
{
- g_object_unref(G_OBJECT(gs_gtkStyle));
+ g_object_unref(gs_gtkStyle);
gs_gtkStyle = NULL;
}
}