|
Lines 162-168
void save_setting()
Link Here
|
| 162 |
/* Deep copy settings. */ |
162 |
/* Deep copy settings. */ |
| 163 |
Setting * copy_setting(Setting * setting) |
163 |
Setting * copy_setting(Setting * setting) |
| 164 |
{ |
164 |
{ |
| 165 |
g_return_if_fail (setting != NULL); |
165 |
g_return_val_if_fail (setting != NULL, FALSE); |
| 166 |
|
166 |
|
| 167 |
/* Allocate structure. */ |
167 |
/* Allocate structure. */ |
| 168 |
Setting * new_setting = g_slice_new0(Setting); |
168 |
Setting * new_setting = g_slice_new0(Setting); |