[gtk+] widget: Add transfer annotation for gtk_widget_set_window
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Add transfer annotation for gtk_widget_set_window
- Date: Thu, 11 Aug 2011 10:36:51 +0000 (UTC)
commit c7bcef426b10c9143e5e73d18d3cdc0690e58cf6
Author: JÃrg Billeter <j bitron ch>
Date: Thu Aug 11 10:21:10 2011 +0200
widget: Add transfer annotation for gtk_widget_set_window
gtk_widget_set_window does not add any reference to the window and
unrealize will destroy it.
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 9542262..8f5d6ff 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -14038,7 +14038,7 @@ gtk_widget_get_requisition (GtkWidget *widget,
/**
* gtk_widget_set_window:
* @widget: a #GtkWidget
- * @window: a #GdkWindow
+ * @window: (transfer full): a #GdkWindow
*
* Sets a widget's window. This function should only be used in a
* widget's #GtkWidget::realize implementation. The %window passed is
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]