diff src/notify.h @ 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
line wrap: on
line diff
--- a/src/notify.h	Mon Nov 22 21:56:46 2004 +0000
+++ b/src/notify.h	Mon Nov 22 22:13:12 2004 +0000
@@ -78,7 +78,7 @@
 							  const char *title, const char *primary,
 							  const char *secondary, const char *text,
 							  GCallback cb, void *user_data);
-	void *(*notify_uri)(const char *uri, gboolean trusted);
+	void *(*notify_uri)(const char *uri);
 
 	void (*close_notify)(GaimNotifyType type, void *ui_handle);
 
@@ -202,15 +202,14 @@
 /**
  * Opens a URI or somehow presents it to the user.
  *
- * @param handle  The plugin or connection handle.
- * @param uri     The URI to display or go to.
- * @param trusted The source of the URI is trusted.
+ * @param handle The plugin or connection handle.
+ * @param uri    The URI to display or go to.
  *
  * @return A UI-specific handle, if any. This may only be presented if
  *         the UI code displays a dialog instead of a webpage, or something
  *         similar.
  */
-void *gaim_notify_uri(void *handle, const char *uri, gboolean trusted);
+void *gaim_notify_uri(void *handle, const char *uri);
 
 /**
  * Closes a notification.