projects
/
tweakr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add module manager.
[tweakr]
/
libmaemo-tweaks-section
/
maemo-tweaks-section.c
diff --git
a/libmaemo-tweaks-section/maemo-tweaks-section.c
b/libmaemo-tweaks-section/maemo-tweaks-section.c
index
9d0a360
..
1f87b2c
100644
(file)
--- a/
libmaemo-tweaks-section/maemo-tweaks-section.c
+++ b/
libmaemo-tweaks-section/maemo-tweaks-section.c
@@
-30,13
+30,21
@@
maemo_tweaks_section_new (GType type)
return g_object_new (type, NULL);
}
return g_object_new (type, NULL);
}
+GtkWidget *
+maemo_tweaks_section_get_widget (MaemoTweaksSection *section)
+{
+ g_return_val_if_fail (MAEMO_TWEAKS_IS_SECTION (section), NULL);
+
+ return section->widget;
+}
+
void
void
-maemo_tweaks_section_build (MaemoTweaksSection *section)
+maemo_tweaks_section_save (MaemoTweaksSection *section)
{
g_return_if_fail (MAEMO_TWEAKS_IS_SECTION (section));
{
g_return_if_fail (MAEMO_TWEAKS_IS_SECTION (section));
- if (MAEMO_TWEAKS_SECTION_GET_CLASS (section)->build)
- MAEMO_TWEAKS_SECTION_GET_CLASS (section)->build (section);
+ if (MAEMO_TWEAKS_SECTION_GET_CLASS (section)->save)
+ MAEMO_TWEAKS_SECTION_GET_CLASS (section)->save (section);
else
g_warning ("%s: section class %s doesn't implement "
"MaemoTweaksSection::filter ()\n",
else
g_warning ("%s: section class %s doesn't implement "
"MaemoTweaksSection::filter ()\n",