+
+ for (i = 0; i < n_sections; i++)
+ {
+ MaemoTweaksSection *section;
+ MaemoTweaksSectionClass *klass;
+
+ klass = g_type_class_ref (section_types[i]);
+ section = maemo_tweaks_section_new (section_types[i]);
+
+ sections = g_list_prepend (sections, section);
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
+ maemo_tweaks_section_get_widget (section),
+ TRUE, TRUE, 0);
+
+ g_type_class_unref (klass);
+ }
+
+ gtk_widget_show_all (GTK_DIALOG (dialog)->vbox);