- notebook->pages = g_hash_table_new_full (g_direct_hash,
- g_direct_equal,
- NULL,
- g_object_unref);
- notebook->selected_page = -1;
- notebook->focus_tab_page = -1;
- notebook->idle_focus_id = 0;
+ notebook->priv = G_TYPE_INSTANCE_GET_PRIVATE (notebook,
+ GTK_TYPE_NOTEBOOK_ACCESSIBLE,
+ GtkNotebookAccessiblePrivate);
+ notebook->priv->pages = g_hash_table_new_full (g_direct_hash,
+ g_direct_equal,
+ NULL,
+ g_object_unref);
+ notebook->priv->selected_page = -1;
+ notebook->priv->focus_tab_page = -1;
+ notebook->priv->idle_focus_id = 0;