Constructor

TalkatuAttachmentDialognew

Declaration [src]

GtkWidget*
talkatu_attachment_dialog_new (
  TalkatuAttachment* attachment,
  const gchar* comment
)

Description [src]

Creates a new TalkatuAttachmentDialog with the given attachment and comment.

Parameters

attachment

Type: TalkatuAttachment

The TalkatuAttachment we’re customizing.

The data is owned by the caller of the function.
comment

Type: const gchar*

A default comment to display.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkWidget

The new TalkatuAttachmentDialog.

The caller of the function takes ownership of the data, and is responsible for freeing it.