struct _MaemoTweaksSection
{
GObject parent_instance;
+
+ /* The widget that the section populates (usually a vbox */
+ GtkWidget *widget;
};
struct _MaemoTweaksSectionClass
const gchar *name;
- void (*build) (MaemoTweaksSection *section);
+ gboolean (*save) (MaemoTweaksSection *section,
+ gboolean *requires_restart);
};
MaemoTweaksSection * maemo_tweaks_section_new (GType type);
-void maemo_tweaks_section_build (MaemoTweaksSection *section);
+GtkWidget * maemo_tweaks_section_get_widget (MaemoTweaksSection *section);
+gboolean maemo_tweaks_section_save (MaemoTweaksSection *section,
+ gboolean *requires_restart);
G_END_DECLS