~xavi-garcia-mena/upower/percentages-power-off

« back to all changes in this revision

Viewing changes to src/up-device.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-10-20 17:11:30 UTC
  • mfrom: (49.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131020171130-flrh6n1po62b1130
Tags: 0.9.23-1
* New upstream bug fix release.
* Force libglib2.0-0 to be at least 2.36 to avoid running against earlier
  glib versions which still required g_type_init(). (Closes: #722612)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1222
1222
UpDevice *
1223
1223
up_device_new (void)
1224
1224
{
1225
 
        UpDevice *device;
1226
 
        device = UP_DEVICE (g_object_new (UP_TYPE_DEVICE, NULL));
1227
 
        return device;
 
1225
        return UP_DEVICE (g_object_new (UP_TYPE_DEVICE, NULL));
1228
1226
}
1229
1227