[gtk+/gtk-2-24] Added out annotations for gtk_icon_size_lookup/_for_settings



commit baf8bf967dfcde1b101d513c5102872a9b0ac571
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sun Dec 19 21:52:51 2010 +0100

    Added out annotations for gtk_icon_size_lookup/_for_settings
    
    Backported from master commit e36ba3465.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=637606

 gtk/gtkiconfactory.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c
index b40375c..be2dc0f 100644
--- a/gtk/gtkiconfactory.c
+++ b/gtk/gtkiconfactory.c
@@ -853,8 +853,8 @@ icon_size_lookup_intern (GtkSettings *settings,
  * @settings: a #GtkSettings object, used to determine
  *   which set of user preferences to used.
  * @size: (type int): an icon size
- * @width: location to store icon width
- * @height: location to store icon height
+ * @width: (out): location to store icon width
+ * @height: (out): location to store icon height
  *
  * Obtains the pixel size of a semantic icon size, possibly
  * modified by user preferences for a particular
@@ -885,8 +885,8 @@ gtk_icon_size_lookup_for_settings (GtkSettings *settings,
 /**
  * gtk_icon_size_lookup:
  * @size: (type int): an icon size
- * @width: location to store icon width
- * @height: location to store icon height
+ * @width: (out): location to store icon width
+ * @height: (out): location to store icon height
  *
  * Obtains the pixel size of a semantic icon size, possibly
  * modified by user preferences for the default #GtkSettings.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]