docs: annotate gtk_gc_get ownership for introspection
This commit is contained in:
parent
73d1d41dd5
commit
c891dc254b
1 changed files with 12 additions and 0 deletions
12
gtk/gtkgc.c
12
gtk/gtkgc.c
|
|
@ -77,6 +77,18 @@ static GHashTable *gc_key_ht = NULL;
|
||||||
static GHashTable *gc_gc_ht = NULL;
|
static GHashTable *gc_gc_ht = NULL;
|
||||||
static GQuark quark_gtk_gc_drawable_ht = 0;
|
static GQuark quark_gtk_gc_drawable_ht = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gtk_gc_get:
|
||||||
|
* @depth: the depth of the graphics context
|
||||||
|
* @colormap: a #GdkColormap
|
||||||
|
* @values: a #GdkGCValues structure containing values for the graphics context
|
||||||
|
* @values_mask: a mask indicating which fields of @values are set
|
||||||
|
*
|
||||||
|
* Gets a shared #GdkGC matching the given values.
|
||||||
|
*
|
||||||
|
* Returns: (transfer full): a #GdkGC. Release it with gtk_gc_release()
|
||||||
|
* when no longer needed.
|
||||||
|
*/
|
||||||
GdkGC*
|
GdkGC*
|
||||||
gtk_gc_get (gint depth,
|
gtk_gc_get (gint depth,
|
||||||
GdkColormap *colormap,
|
GdkColormap *colormap,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue