Lines Matching refs:section_name
39 char *section_name;
119 dbus_free (section->section_name);
285 desktop_file->sections[n].section_name = name_copy;
293 dbus_free (desktop_file->sections[n].section_name);
294 desktop_file->sections[n].section_name = NULL;
399 char *section_name;
414 section_name = unescape_string (parser,
418 if (section_name == NULL)
424 if (!is_valid_section_name (section_name))
428 dbus_free (section_name);
432 if (open_section (parser, section_name) == NULL)
434 dbus_free (section_name);
447 dbus_free (section_name);
586 const char *section_name = NULL;
591 section_name = parser->desktop_file->sections[parser->current_section].section_name;
593 if (section_name)
595 "Error in section %s at line %d: %s\n", section_name, parser->line_num, message);
611 printf ("[%s]\n", file->sections[i].section_name);
707 const char *section_name)
712 if (section_name == NULL)
719 if (strcmp (section->section_name, section_name) == 0)
747 const char *section_name,
756 section = lookup_section (desktop_file, section_name);