Mercurial > pidgin
comparison src/notify.c @ 10240:95ca0db2d01d
[gaim-migrate @ 11377]
Removing trust parameter for gaim_notify_uri (see gaim-devel over past few
days). Removed URI scheme filtering for win32. Instead we'll allow what ever
the default http browser allows.
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Mon, 22 Nov 2004 22:13:12 +0000 |
| parents | 9e0b98c458b1 |
| children | 911530134bf8 |
comparison
equal
deleted
inserted
replaced
| 10239:d0558652e0c4 | 10240:95ca0db2d01d |
|---|---|
| 181 | 181 |
| 182 return NULL; | 182 return NULL; |
| 183 } | 183 } |
| 184 | 184 |
| 185 void * | 185 void * |
| 186 gaim_notify_uri(void *handle, const char *uri, gboolean trusted) | 186 gaim_notify_uri(void *handle, const char *uri) |
| 187 { | 187 { |
| 188 GaimNotifyUiOps *ops; | 188 GaimNotifyUiOps *ops; |
| 189 | 189 |
| 190 g_return_val_if_fail(uri != NULL, NULL); | 190 g_return_val_if_fail(uri != NULL, NULL); |
| 191 | 191 |
| 195 GaimNotifyInfo *info; | 195 GaimNotifyInfo *info; |
| 196 | 196 |
| 197 info = g_new0(GaimNotifyInfo, 1); | 197 info = g_new0(GaimNotifyInfo, 1); |
| 198 info->type = GAIM_NOTIFY_URI; | 198 info->type = GAIM_NOTIFY_URI; |
| 199 info->handle = handle; | 199 info->handle = handle; |
| 200 info->ui_handle = ops->notify_uri(uri, trusted); | 200 info->ui_handle = ops->notify_uri(uri); |
| 201 | 201 |
| 202 handles = g_list_append(handles, info); | 202 handles = g_list_append(handles, info); |
| 203 | 203 |
| 204 return info->ui_handle; | 204 return info->ui_handle; |
| 205 } | 205 } |
