[gnome-builder/wip/libide: 144/237] libide: define cleanup func for IdeSourceLocation
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide: 144/237] libide: define cleanup func for IdeSourceLocation
- Date: Tue, 17 Feb 2015 21:41:31 +0000 (UTC)
commit c1b6c0523ec7e091dca3715784ff7aa6836cc52c
Author: Christian Hergert <christian hergert me>
Date: Thu Feb 12 11:28:16 2015 -0800
libide: define cleanup func for IdeSourceLocation
libide/ide-source-location.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-source-location.h b/libide/ide-source-location.h
index 0fb6dbd..6a050e4 100644
--- a/libide/ide-source-location.h
+++ b/libide/ide-source-location.h
@@ -37,6 +37,8 @@ guint ide_source_location_get_line_offset (IdeSourceLocation *self)
guint ide_source_location_get_offset (IdeSourceLocation *self);
IdeFile *ide_source_location_get_file (IdeSourceLocation *self);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (IdeSourceLocation, ide_source_location_unref)
+
G_END_DECLS
#endif /* IDE_SOURCE_LOCATION_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]