[gtksourceview] completioninfo: add better docs.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] completioninfo: add better docs.
- Date: Mon, 10 Oct 2011 16:41:19 +0000 (UTC)
commit 1f4c003d3fcccb533a6fb823c44041e56e733bc4
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Oct 10 18:41:04 2011 +0200
completioninfo: add better docs.
gtksourceview/gtksourcecompletioninfo.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletioninfo.c b/gtksourceview/gtksourcecompletioninfo.c
index c81fa8b..908742d 100644
--- a/gtksourceview/gtksourcecompletioninfo.c
+++ b/gtksourceview/gtksourcecompletioninfo.c
@@ -193,7 +193,9 @@ gtk_source_completion_info_move_to_iter (GtkSourceCompletionInfo *info,
*
* Sets the content widget of the info window. If @widget does not fit within
* the size requirements of the window, a #GtkScrolledWindow will automatically
- * be created and added to the window.
+ * be created and added to the window. See that the previous widget will lose
+ * a reference and it can be destroyed, so if you do not want this to happen
+ * you must g_object_ref() before calling this method.
*/
void
gtk_source_completion_info_set_widget (GtkSourceCompletionInfo *info,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]