| 225 return; |
225 return; |
| 226 } |
226 } |
| 227 |
227 |
| 228 plugins = g_list_append(plugins, plug); |
228 plugins = g_list_append(plugins, plug); |
| 229 |
229 |
| 230 if (g_module_symbol(plug->handle, "name", (gpointer *)&cfunc)) |
230 if (g_module_symbol(plug->handle, "name", (gpointer *)&cfunc)) { |
| 231 plug->name = (*cfunc)(); |
231 plug->name = (*cfunc)(); |
| 232 else |
232 } else { |
| 233 plug->name = NULL; |
233 plug->name = NULL; |
| |
234 } |
| 234 |
235 |
| 235 if (g_module_symbol(plug->handle, "description", (gpointer *)&cfunc)) |
236 if (g_module_symbol(plug->handle, "description", (gpointer *)&cfunc)) |
| 236 plug->description = (*cfunc)(); |
237 plug->description = (*cfunc)(); |
| 237 else |
238 else |
| 238 plug->description = NULL; |
239 plug->description = NULL; |