[snappy] ui: code style fixes
- From: Luis de Bethencourt <luisbg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snappy] ui: code style fixes
- Date: Fri, 5 Apr 2013 16:16:25 +0000 (UTC)
commit f1b850f94ededf507daf1317fd4d004e55873efc
Author: Luis de Bethencourt <luis debethencourt com>
Date: Fri Apr 5 00:17:05 2013 -0400
ui: code style fixes
src/user_interface.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/user_interface.c b/src/user_interface.c
index b3b8514..42a3a6d 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -643,9 +643,7 @@ load_controls (UserInterface * ui)
gradient_image = clutter_image_new ();
if (!clutter_image_set_data (CLUTTER_IMAGE (gradient_image),
- gradient_pixels,
- COGL_PIXEL_FORMAT_RGBA_8888,
- 2, 1, 4, NULL))
+ gradient_pixels, COGL_PIXEL_FORMAT_RGBA_8888, 2, 1, 4, NULL))
g_warning ("error setting image");
// progress rectangle
@@ -1317,9 +1315,9 @@ interface_start (UserInterface * ui, gchar * uri)
ui->media_height = ui->engine->media_height;
// Get screen size
- screen = gdk_screen_get_default();
- screen_width = gdk_screen_get_width(screen);
- screen_height = gdk_screen_get_height(screen);
+ screen = gdk_screen_get_default ();
+ screen_width = gdk_screen_get_width (screen);
+ screen_height = gdk_screen_get_height (screen);
if (ui->media_width < screen_width && ui->media_height < screen_height) {
ui->stage_width = ui->media_width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]