[mutter] monitor-manager-kms: Fix some minor style issues
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor-manager-kms: Fix some minor style issues
- Date: Mon, 15 Dec 2014 22:26:52 +0000 (UTC)
commit 2f7843b295d3bcf50e30f234c6963b7a02e9ce2c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Dec 15 14:15:46 2014 -0800
monitor-manager-kms: Fix some minor style issues
Spotted by Dave Airlie <airlied redhat com>
src/backends/native/meta-monitor-manager-kms.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/native/meta-monitor-manager-kms.c b/src/backends/native/meta-monitor-manager-kms.c
index c528516..aa949ab 100644
--- a/src/backends/native/meta-monitor-manager-kms.c
+++ b/src/backends/native/meta-monitor-manager-kms.c
@@ -207,7 +207,7 @@ find_properties (MetaMonitorManagerKms *manager_kms,
strcmp (prop->name, "EDID") == 0)
output_kms->edid_blob_id = output_kms->connector->prop_values[i];
- drmModeFreeProperty(prop);
+ drmModeFreeProperty (prop);
}
}
@@ -229,8 +229,10 @@ read_output_edid (MetaMonitorManagerKms *manager_kms,
}
if (edid_blob->length > 0)
- return g_bytes_new_with_free_func (edid_blob->data, edid_blob->length,
- (GDestroyNotify)drmModeFreePropertyBlob, edid_blob);
+ {
+ return g_bytes_new_with_free_func (edid_blob->data, edid_blob->length,
+ (GDestroyNotify)drmModeFreePropertyBlob, edid_blob);
+ }
else
{
drmModeFreePropertyBlob (edid_blob);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]