static void mx_frame_init (MxFrame *self) { self->priv = FRAME_PRIVATE (self); g_signal_connect (self, "actor-added", G_CALLBACK (mx_frame_actor_added), NULL); g_signal_connect (self, "actor-removed", G_CALLBACK (mx_frame_actor_removed), NULL); }
static void scroll_frame_init (ScrollFrame *frame) { ScrollFramePrivate *priv; ClutterColor bg = {0x00, 0x00, 0x00, 0x00}; priv = frame->priv = FRAME_PRIVATE (frame); priv->wk_hadj = webkit_adjustment_new (0.0, 0.0, 0.0, 0.0, 0.0, 0.0); priv->wk_vadj = webkit_adjustment_new (0.0, 0.0, 0.0, 0.0, 0.0, 0.0); }