| 144 gtk_widget_class_bind_template_child(widget_class, PidginInviteDialog, |
144 gtk_widget_class_bind_template_child(widget_class, PidginInviteDialog, |
| 145 contact); |
145 contact); |
| 146 gtk_widget_class_bind_template_child(widget_class, PidginInviteDialog, |
146 gtk_widget_class_bind_template_child(widget_class, PidginInviteDialog, |
| 147 message); |
147 message); |
| 148 |
148 |
| |
149 /** |
| |
150 * PidginInviteDialog:contact: |
| |
151 * |
| |
152 * The [class@Purple.Contact] that is being invited. |
| |
153 * |
| |
154 * Since: 3.0 |
| |
155 */ |
| 149 properties[PROP_CONTACT] = g_param_spec_string( |
156 properties[PROP_CONTACT] = g_param_spec_string( |
| 150 "contact", |
157 "contact", |
| 151 "contact", |
158 "contact", |
| 152 "The person that is being invited", |
159 "The person that is being invited", |
| 153 NULL, |
160 NULL, |
| 154 G_PARAM_READWRITE | G_PARAM_CONSTRUCT); |
161 G_PARAM_READWRITE | G_PARAM_CONSTRUCT); |
| 155 |
162 |
| |
163 /** |
| |
164 * PidginInviteDialog:message: |
| |
165 * |
| |
166 * A personalized message for the invite. |
| |
167 * |
| |
168 * Since: 3.0 |
| |
169 */ |
| 156 properties[PROP_MESSAGE] = g_param_spec_string( |
170 properties[PROP_MESSAGE] = g_param_spec_string( |
| 157 "message", |
171 "message", |
| 158 "message", |
172 "message", |
| 159 "The invite message to send", |
173 "The invite message to send", |
| 160 NULL, |
174 NULL, |
| 161 G_PARAM_READWRITE | G_PARAM_CONSTRUCT); |
175 G_PARAM_READWRITE | G_PARAM_CONSTRUCT); |
| 162 |
176 |
| |
177 /** |
| |
178 * PidginInviteDialog:conversation: |
| |
179 * |
| |
180 * The [class@Purple.Conversation] that the invite is for. |
| |
181 * |
| |
182 * Since: 3.0 |
| |
183 */ |
| 163 properties[PROP_CONVERSATION] = g_param_spec_object( |
184 properties[PROP_CONVERSATION] = g_param_spec_object( |
| 164 "conversation", |
185 "conversation", |
| 165 "conversation", |
186 "conversation", |
| 166 "The conversation that someone is being invited to", |
187 "The conversation that someone is being invited to", |
| 167 PURPLE_TYPE_CHAT_CONVERSATION, |
188 PURPLE_TYPE_CHAT_CONVERSATION, |