output_class->close_fn = _gcr_callback_output_stream_close;
}
+/**
+ * _gcr_callback_output_stream_new: (skip)
+ *
+ * Returns: (transfer full) (type Gcr.CallbackOutputStream): the new stream
+ */
GOutputStream *
_gcr_callback_output_stream_new (GcrCallbackOutputFunc callback,
gpointer user_data,
}
/**
- * gcr_certificate_basics_widget_new: (skip):
+ * gcr_certificate_basics_widget_new: (skip)
*
* Deprecated: Since 2.30
+ *
+ * Returns: (transfer full) (type Gcr.CertificateWidget): a new certificate widget
*/
GcrCertificateBasicsWidget *
gcr_certificate_basics_widget_new (GcrCertificate *cert)
}
/**
- * gcr_certificate_basics_widget_get_certificate: (skip):
+ * gcr_certificate_basics_widget_get_certificate: (skip)
*
* Deprecated: Since 2.30
+ *
+ * Returns: (transfer none): the certificate
*/
GcrCertificate *
gcr_certificate_basics_widget_get_certificate (GcrCertificateBasicsWidget *basics)
return gcr_certificate_widget_get_certificate (basics);
}
+/**
+ * gcr_certificate_basics_widget_set_certificate: (skip)
+ * @basics: the certificate widget
+ * @cert: the certificate
+ *
+ * Deprecated: Since 2.30
+ */
void
gcr_certificate_basics_widget_set_certificate (GcrCertificateBasicsWidget *basics,
GcrCertificate *cert)
}
/**
- * gcr_certificate_details_widget_new: (skip):
+ * gcr_certificate_details_widget_new: (skip)
*
* Deprecated: Since 2.30
+ *
+ * Returns: (transfer full) (type Gcr.CertificateWidget): a new certificate widget
*/
-GcrCertificateDetailsWidget*
+GcrCertificateDetailsWidget *
gcr_certificate_details_widget_new (GcrCertificate *cert)
{
return gcr_certificate_widget_new (cert);
}
/**
- * gcr_certificate_details_widget_get_certificate: (skip):
+ * gcr_certificate_details_widget_get_certificate: (skip)
*
* Deprecated: Since 2.30
+ *
+ * Returns: (transfer none): the certificate
*/
GcrCertificate*
gcr_certificate_details_widget_get_certificate (GcrCertificateDetailsWidget *details)
}
/**
- * gcr_certificate_details_widget_set_certificate: (skip):
+ * gcr_certificate_details_widget_set_certificate: (skip)
+ * @details: the certificate widget
+ * @cert: the certificate
*
- * Deprecated
+ * Deprecated: Since 2.30
*/
void
gcr_certificate_details_widget_set_certificate (GcrCertificateDetailsWidget *details,
*
* Create a new renderer for an error.
*
- * Returns: (transfer full): the new renderer
+ * Returns: (transfer full) (type Gcr.FailureRenderer): the new renderer
*/
GcrRenderer *
gcr_failure_renderer_new (const gchar *label,
* The gnupg home directory is where the keyring files live. If directory is
* %NULL then the default gnupg home directory is used.
*
- * Returns: (transfer full): A newly allocated collection.
+ * Returns: (transfer full) (type Gcr.GnupgCollection): A newly allocated collection.
*/
GcrCollection*
_gcr_gnupg_collection_new (const gchar *directory)
iface->import_finish = _gcr_gnupg_importer_import_finish;
}
+/**
+ * _gcr_gnupg_importer_new:
+ *
+ * Returns: (transfer full) (type Gcr.GnupgImporter): the new importer
+ */
GcrImporter *
_gcr_gnupg_importer_new (const gchar *directory)
{
self->pv->hook_widget = NULL;
}
+/**
+ * _gcr_live_search_new:
+ *
+ * Returns: (transfer full) (type Gcr.LiveSearch): The new widget
+ */
GtkWidget *
_gcr_live_search_new (GtkWidget *hook)
{
* Create a new GIcon based on image data in memory. The data will be copied
* by the new icon.
*
- * Returns: (transfer full): A newly allocated icon.
+ * Returns: (transfer full) (type Gcr.MemoryIcon): A newly allocated icon.
*/
GIcon*
_gcr_memory_icon_new (const gchar *image_type, gconstpointer data, gsize n_data)
}
+/**
+ * _gcr_menu_button_new:
+ *
+ * Returns: (transfer full) (type Gcr.MenuButton): the new menu button
+ */
GtkWidget *
_gcr_menu_button_new (const gchar *label)
{
iface->import_finish = _gcr_pkcs11_importer_import_finish;
}
+/**
+ * _gcr_pkcs11_importer_new:
+ *
+ * Returns: (transfer full) (type Gcr.Pkcs11Importer): the new importer
+ */
GcrImporter *
_gcr_pkcs11_importer_new (GckSlot *slot)
{
* Create a new #GcrSimpleCertificate for the raw DER data. The @data memory is
* copied so you can dispose of it after this function returns.
*
- * Returns: (transfer full): a new #GcrSimpleCertificate
+ * Returns: (transfer full) (type Gcr.SimpleCertificate): a new #GcrSimpleCertificate
*/
GcrCertificate *
gcr_simple_certificate_new (const guchar *data,
* not copied and must persist until the #GcrSimpleCertificate object is
* destroyed.
*
- * Returns: (transfer full): a new #GcrSimpleCertificate
+ * Returns: (transfer full) (type Gcr.SimpleCertificate): a new #GcrSimpleCertificate
*/
GcrCertificate *
gcr_simple_certificate_new_static (const guchar *data,
*
* Create a new #GcrSimpleCollection.
*
- * Returns: (transfer full): a newly allocated collection, which should be
- * freed with g_object_unref()
+ * Returns: (transfer full) (type Gcr.SimpleCollection): a newly allocated
+ * collection, which should be freed with g_object_unref()
*/
GcrCollection *
gcr_simple_collection_new (void)
*
* Create a new #GcrUnionCollection.
*
- * Returns: (transfer full): a newly allocated collection, which should be
- * freed with g_object_unref()
+ * Returns: (transfer full) (type Gcr.UnionCollection): a newly allocated
+ * collection, which should be freed with g_object_unref()
*/
GcrCollection *
gcr_union_collection_new (void)
*
* Create a new #GcrUnlockOptionsWidget.
*
- * Returns: A new #GcrUnlockOptionsWidget.
+ * Returns: (transfer full) (type Gcr.UnlockOptionsWidget): a new #GcrUnlockOptionsWidget
*/
-GtkWidget*
+GtkWidget *
gcr_unlock_options_widget_new (void)
{
return g_object_new (GCR_TYPE_UNLOCK_OPTIONS_WIDGET, NULL);
*
* Create a new viewer window.
*
- * Returns: (transfer full): a new viewer window
+ * Returns: (transfer full) (type Gcr.ViewerWindow): a new viewer window
*/
GtkWindow *
gcr_viewer_window_new (void)