~ubuntu-branches/ubuntu/trusty/hardinfo/trusty-proposed

« back to all changes in this revision

Viewing changes to devices.c

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-11-06 14:14:17 UTC
  • mfrom: (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091106141417-fnpdc0ya7ac8bmsx
Tags: 0.5.1-1ubuntu1
* Merge from debian testing:
  - debian/rules: Don't install anything in /usr/local, otherwise FTBFS.
* debian/control: Add homepage field.
* Add quilt patch system support.
* Add 01-truncated_description.patch to fix LP: #357189 (at least
  partially).

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
void hi_module_init(void)
425
425
{
426
426
    if (!g_file_test("/usr/share/misc/pci.ids", G_FILE_TEST_EXISTS)) {
427
 
        static SyncEntry se[] = {
428
 
            {
 
427
        static SyncEntry se = {
429
428
             .fancy_name = "Update PCI ID listing",
430
429
             .name = "GetPCIIds",
431
430
             .save_to = "pci.ids",
432
431
             .get_data = NULL
433
 
            }
434
432
        };
435
433
 
436
 
        sync_manager_add_entry(&se[0]);
 
434
        sync_manager_add_entry(&se);
437
435
    }
438
436
 
439
437
    moreinfo = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);