GtkWidget *
champlain_view_embed_new (ChamplainView *view)
{
+ g_return_val_if_fail(CLUTTER_IS_ACTOR(view), NULL); //FIXME should be CHAMPLAIN_IS_VIEW but doesn't compile
+
ClutterColor stage_color = { 0x34, 0x39, 0x39, 0xff };
ChamplainViewEmbed *embed;
ClutterActor *stage;
ChamplainView *
champlain_view_embed_get_view (ChamplainViewEmbed* embed)
{
+ g_return_val_if_fail(CHAMPLAIN_IS_VIEW_EMBED(embed), NULL);
+
ChamplainViewEmbedPrivate *priv = CHAMPLAIN_VIEW_EMBED_GET_PRIVATE (embed);
return priv->view;
}