| 93 * |
93 * |
| 94 * Sets the contact that should be invited. This function is intended to be |
94 * Sets the contact that should be invited. This function is intended to be |
| 95 * used to prepopulate the dialog in cases where you just need to prompt the |
95 * used to prepopulate the dialog in cases where you just need to prompt the |
| 96 * user for an invite message. |
96 * user for an invite message. |
| 97 * |
97 * |
| 98 * Since: 3.0.0 |
98 * Since: 3.0 |
| 99 */ |
99 */ |
| 100 PIDGIN_AVAILABLE_IN_3_0 |
100 PIDGIN_AVAILABLE_IN_3_0 |
| 101 void pidgin_invite_dialog_set_contact(PidginInviteDialog *dialog, const gchar *contact); |
101 void pidgin_invite_dialog_set_contact(PidginInviteDialog *dialog, const gchar *contact); |
| 102 |
102 |
| 103 /** |
103 /** |
| 107 * Gets the contact that was entered in @dialog. This string is only valid as |
107 * Gets the contact that was entered in @dialog. This string is only valid as |
| 108 * long as @dialog exists. |
108 * long as @dialog exists. |
| 109 * |
109 * |
| 110 * Returns: (transfer none): The contact that was entered. |
110 * Returns: (transfer none): The contact that was entered. |
| 111 * |
111 * |
| 112 * Since: 3.0.0 |
112 * Since: 3.0 |
| 113 */ |
113 */ |
| 114 PIDGIN_AVAILABLE_IN_3_0 |
114 PIDGIN_AVAILABLE_IN_3_0 |
| 115 const gchar *pidgin_invite_dialog_get_contact(PidginInviteDialog *dialog); |
115 const gchar *pidgin_invite_dialog_get_contact(PidginInviteDialog *dialog); |
| 116 |
116 |
| 117 /** |
117 /** |
| 120 * @message: The message that should be displayed. |
120 * @message: The message that should be displayed. |
| 121 * |
121 * |
| 122 * Sets the message to be displayed in @dialog. The main use case is to |
122 * Sets the message to be displayed in @dialog. The main use case is to |
| 123 * prepopulate the message. |
123 * prepopulate the message. |
| 124 * |
124 * |
| 125 * Since: 3.0.0 |
125 * Since: 3.0 |
| 126 */ |
126 */ |
| 127 PIDGIN_AVAILABLE_IN_3_0 |
127 PIDGIN_AVAILABLE_IN_3_0 |
| 128 void pidgin_invite_dialog_set_message(PidginInviteDialog *dialog, const gchar *message); |
128 void pidgin_invite_dialog_set_message(PidginInviteDialog *dialog, const gchar *message); |
| 129 |
129 |
| 130 /** |
130 /** |
| 134 * Gets the message that was entered in @dialog. The returned value is only |
134 * Gets the message that was entered in @dialog. The returned value is only |
| 135 * valid as long as @dialog exists. |
135 * valid as long as @dialog exists. |
| 136 * |
136 * |
| 137 * Returns: (transfer none): The message that was entered in @dialog. |
137 * Returns: (transfer none): The message that was entered in @dialog. |
| 138 * |
138 * |
| 139 * Since: 3.0.0 |
139 * Since: 3.0 |
| 140 */ |
140 */ |
| 141 PIDGIN_AVAILABLE_IN_3_0 |
141 PIDGIN_AVAILABLE_IN_3_0 |
| 142 const gchar *pidgin_invite_dialog_get_message(PidginInviteDialog *dialog); |
142 const gchar *pidgin_invite_dialog_get_message(PidginInviteDialog *dialog); |
| 143 |
143 |
| 144 /** |
144 /** |