[gnome-photos] Style fixes



commit b47f829165442165bbf3271e153f3b0fe9716112
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 9 15:34:37 2013 +0200

    Style fixes

 src/photos-application.c            |    3 +--
 src/photos-dlna-renderer.c          |    4 +---
 src/photos-remote-display-manager.c |    4 +---
 3 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 0a9c27d..cb33058 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -550,8 +550,7 @@ photos_application_dispose (GObject *object)
   g_clear_object (&priv->src_mngr);
   g_clear_object (&priv->mode_cntrlr);
 
-  G_OBJECT_CLASS (photos_application_parent_class)
-    ->dispose (object);
+  G_OBJECT_CLASS (photos_application_parent_class)->dispose (object);
 }
 
 
diff --git a/src/photos-dlna-renderer.c b/src/photos-dlna-renderer.c
index c911e00..eed1d28 100644
--- a/src/photos-dlna-renderer.c
+++ b/src/photos-dlna-renderer.c
@@ -349,9 +349,7 @@ photos_dlna_renderer_async_initable_iface_init (GAsyncInitableIface *iface)
 const gchar *
 photos_dlna_renderer_get_object_path (PhotosDlnaRenderer *self)
 {
-  PhotosDlnaRendererPrivate *priv = self->priv;
-
-  return priv->object_path;
+  return self->priv->object_path;
 }
 
 
diff --git a/src/photos-remote-display-manager.c b/src/photos-remote-display-manager.c
index 8248de5..fef30b4 100644
--- a/src/photos-remote-display-manager.c
+++ b/src/photos-remote-display-manager.c
@@ -239,9 +239,7 @@ photos_remote_display_manager_set_renderer (PhotosRemoteDisplayManager *self,
 PhotosDlnaRenderer *
 photos_remote_display_manager_get_renderer (PhotosRemoteDisplayManager *self)
 {
-  PhotosRemoteDisplayManagerPrivate *priv = self->priv;
-
-  return priv->renderer;
+  return self->priv->renderer;
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]