diff finch/gntcertmgr.c @ 21244:a20ef7180680

Re-namespace the #defines to all be PURPLE_REQUEST_UI_HINT_*. I see no reason that the common UI ones need to be in a different namespace from the ones used by libpurple.
author Richard Laager <rlaager@wiktel.com>
date Sun, 14 Oct 2007 20:53:40 +0000
parents fba1f6c3df0b
children d4f95419be45 dccfd999ffe7
line wrap: on
line diff
--- a/finch/gntcertmgr.c	Sun Oct 14 19:52:54 2007 +0000
+++ b/finch/gntcertmgr.c	Sun Oct 14 20:53:40 2007 +0000
@@ -90,7 +90,7 @@
 				_("OK"), G_CALLBACK(tls_peers_mgmt_import_ok2_cb),
 				_("Cancel"), G_CALLBACK(tls_peers_mgmt_import_cancel2_cb),
 				NULL, NULL, NULL,
-				PURPLE_UI_REQUEST_HINT_CERTMGR, crt);
+				PURPLE_REQUEST_UI_HINT_CERTMGR, crt);
 		g_free(default_hostname);
 	} else {
 		gchar * secondary;
@@ -112,7 +112,7 @@
 			FALSE,
 			G_CALLBACK(tls_peers_mgmt_import_ok_cb),
 			NULL,
-			NULL, NULL, NULL, PURPLE_UI_REQUEST_HINT_CERTMGR, NULL );
+			NULL, NULL, NULL, PURPLE_REQUEST_UI_HINT_CERTMGR, NULL );
 }
 
 /* Save certs in some file */
@@ -161,7 +161,7 @@
 			G_CALLBACK(tls_peers_mgmt_export_ok_cb),
 			G_CALLBACK(purple_certificate_destroy),
 			NULL, NULL, NULL,
-			PURPLE_UI_REQUEST_HINT_CERTMGR, crt);
+			PURPLE_REQUEST_UI_HINT_CERTMGR, crt);
 }
 
 /* Show information about a cert */
@@ -236,7 +236,7 @@
 	purple_request_yes_no_with_hint((void *)key, _("Confirm certificate delete"),
 			primary, NULL,
 			2,
-			NULL, NULL, NULL, PURPLE_UI_REQUEST_HINT_CERTMGR,
+			NULL, NULL, NULL, PURPLE_REQUEST_UI_HINT_CERTMGR,
 			g_strdup(key),
 			tls_peers_mgmt_delete_confirm_cb,
 			g_free);