[gnome-builder/wip/slaf/xml-pack: 210/254] xmp-pack: fix style, using self for the current object
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/slaf/xml-pack: 210/254] xmp-pack: fix style, using self for the current object
- Date: Thu, 13 Jul 2017 09:06:51 +0000 (UTC)
commit 8254f48113eb9e1d81e50fa74814faf0df302544
Author: Sebastien Lafargue <slafargue gnome org>
Date: Fri Apr 7 21:49:27 2017 +0200
xmp-pack: fix style, using self for the current object
plugins/xml-pack/ide-xml-service.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/xml-pack/ide-xml-service.c b/plugins/xml-pack/ide-xml-service.c
index c8b5804..0f3f56f 100644
--- a/plugins/xml-pack/ide-xml-service.c
+++ b/plugins/xml-pack/ide-xml-service.c
@@ -553,7 +553,7 @@ ide_xml_service_get_position_from_cursor_cb (GObject *object,
GAsyncResult *result,
gpointer user_data)
{
- IdeXmlService *service = (IdeXmlService *)object;
+ IdeXmlService *self = (IdeXmlService *)object;
PositionState *state = (PositionState *)user_data;
g_autoptr(GTask) task = state->task;
g_autoptr(IdeXmlSymbolNode) root_node = NULL;
@@ -563,9 +563,9 @@ ide_xml_service_get_position_from_cursor_cb (GObject *object,
IDE_ENTRY;
g_assert (G_IS_TASK (task));
- g_assert (IDE_IS_XML_SERVICE (service));
+ g_assert (IDE_IS_XML_SERVICE (self));
- root_node = ide_xml_service_get_root_node_finish (service, result, &error);
+ root_node = ide_xml_service_get_root_node_finish (self, result, &error);
if (root_node != NULL)
{
/* find the correspoonding node */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]