summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@beryl-project.org>2007-06-05 16:52:22 +0200
committerDennis Kasprzyk <onestone@beryl-project.org>2007-06-05 16:52:22 +0200
commit9c760c4f0650f9f73215be632372f720b86b2b62 (patch)
treefb2571d725a9c6f89d7e99a25f7e3dfba4bf38f3
parentfc2e2d966528de375273936172208e2083eb619b (diff)
downloadccs-settings-9c760c4f0650f9f73215be632372f720b86b2b62.tar.gz
ccs-settings-9c760c4f0650f9f73215be632372f720b86b2b62.tar.bz2
applied lib changes
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 5c0ece8..5edb50a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1457,7 +1457,7 @@ void setup_actions(gchar * group)
z.widget=NULL;
z.hasany=FALSE;
- CCSSettingList s = ccsFindPlugin(context,group)->settings;
+ CCSSettingList s = ccsGetPluginSettings(ccsFindPlugin(context,group));
while (s)
{
do_if_action_group(s->data,&z);
@@ -1476,7 +1476,7 @@ void do_page(gchar * group,GFunc func,gchar * label, GtkWidget * notebook)
z.widget=vbox;
z.hasany=FALSE;
if (strcmp(group,"_")==0) group=NULL;
- CCSSettingList s = ccsFindPlugin(context,group)->settings;
+ CCSSettingList s = ccsGetPluginSettings(ccsFindPlugin(context,group));
while (s)
{
if (strcmp(s->data->name,"____plugin_enabled") &&
@@ -1845,7 +1845,7 @@ void cb_main_destroy(GtkWidget * w, gpointer p)
}
void set_widgets_for_plugin(CCSPlugin * plugin)
{
- CCSSettingList s = plugin->settings;
+ CCSSettingList s = ccsGetPluginSettings(plugin);
while(s)
{
if (strcmp(s->data->name,"____plugin_enabled") &&
@@ -1860,7 +1860,7 @@ void reloadsig()
CCSPluginList p = context->plugins;
while (p)
{
- CCSSettingList s = p->data->settings;
+ CCSSettingList s = ccsGetPluginSettings(p->data);
while(s)
{
if (!s->data->isScreen || s->data->screenNum == context->screens[0])
@@ -2278,7 +2278,7 @@ void setup_main_window()
void create_widgets_holder_for(CCSPlugin * p)
{
- CCSSettingList l = p->settings;
+ CCSSettingList l = ccsGetPluginSettings(p);
CCSSetting *s;
while (l)
{