[gnome-builder] libide: general cleanup



commit a8fd06fb5f8956144fd743844d862a2bcb3bf7a7
Author: Christian Hergert <christian hergert me>
Date:   Wed Feb 25 22:02:26 2015 -0800

    libide: general cleanup

 libide/git/ide-git-vcs.c |    6 +++---
 libide/ide-vcs.c         |    8 ++++----
 libide/ide-vcs.h         |    2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/libide/git/ide-git-vcs.c b/libide/git/ide-git-vcs.c
index 6877818..9e64c33 100644
--- a/libide/git/ide-git-vcs.c
+++ b/libide/git/ide-git-vcs.c
@@ -54,11 +54,11 @@ static GParamSpec *gParamSpecs [LAST_PROP];
  * Returns: (transfer none): A #GgitRepository.
  */
 GgitRepository *
-ide_git_vcs_get_repository (IdeGitVcs *vcs)
+ide_git_vcs_get_repository (IdeGitVcs *self)
 {
-  IdeGitVcsPrivate *priv = ide_git_vcs_get_instance_private (vcs);
+  IdeGitVcsPrivate *priv = ide_git_vcs_get_instance_private (self);
 
-  g_return_val_if_fail (IDE_IS_GIT_VCS (vcs), NULL);
+  g_return_val_if_fail (IDE_IS_GIT_VCS (self), NULL);
 
   return priv->repository;
 }
diff --git a/libide/ide-vcs.c b/libide/ide-vcs.c
index c1ab027..38d8818 100644
--- a/libide/ide-vcs.c
+++ b/libide/ide-vcs.c
@@ -40,12 +40,12 @@ ide_vcs_init (IdeVcs *self)
  * Returns: (transfer none): A #GFile.
  */
 GFile *
-ide_vcs_get_working_directory (IdeVcs *vcs)
+ide_vcs_get_working_directory (IdeVcs *self)
 {
-  g_return_val_if_fail (IDE_IS_VCS (vcs), NULL);
+  g_return_val_if_fail (IDE_IS_VCS (self), NULL);
 
-  if (IDE_VCS_GET_CLASS (vcs)->get_working_directory)
-   return IDE_VCS_GET_CLASS (vcs)->get_working_directory (vcs);
+  if (IDE_VCS_GET_CLASS (self)->get_working_directory)
+    return IDE_VCS_GET_CLASS (self)->get_working_directory (self);
 
   return NULL;
 }
diff --git a/libide/ide-vcs.h b/libide/ide-vcs.h
index b214439..91c89e1 100644
--- a/libide/ide-vcs.h
+++ b/libide/ide-vcs.h
@@ -37,7 +37,7 @@ struct _IdeVcsClass
   GFile *(*get_working_directory) (IdeVcs *vcs);
 };
 
-GFile  *ide_vcs_get_working_directory (IdeVcs *vcs);
+GFile  *ide_vcs_get_working_directory (IdeVcs               *self);
 void    ide_vcs_new_async             (IdeContext           *context,
                                        int                   io_priority,
                                        GCancellable         *cancellable,


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