[gnome-builder/wip/libide] libide: define cleanup func for IdeSourceLocation
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: define cleanup func for IdeSourceLocation
- Date: Thu, 12 Feb 2015 19:31:35 +0000 (UTC)
commit 7e941161a8e6e1716b26d7eda5a1f5f0bea095f5
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]